You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the problem and a solution reduce adds a rev_map column to mcols. IRanges.to_pandas is buggy, concatenation with nonempty mcols fails. It should read: output = pd.concat([output, self._mcols.to_pandas()], axis=1)
Without axis=1 it concatenates vertically.
balwierz
changed the title
GenomicRanges.reduce().to_pandas() failIRanges.to_pandas fails if there are mcols
Oct 14, 2024
The following code fails
Without
reduce()
it works.The text was updated successfully, but these errors were encountered: