guru  committed 94999d4

Bug fix in gops concatenation: previously it was returning 1 less column from the 2nd dataset in cases where 2nd dataset had more columns than 1st dataset.

  • Participants
  • Parent commits 760d122
  • Branches default

Comments (0)

Files changed (1)

File lib/bx/intervals/operations/

                     # everything except the first input has to be
                     # trimmed or padded to match the first input
                     if len(out_interval.fields) > nfields:
-                        out_interval.fields = out_interval.fields[0:(nfields - 1)]
+                        out_interval.fields = out_interval.fields[0:nfields]
                         while len(out_interval.fields) < nfields:
                     output = True