Skip to content

Commit

Permalink
Update pynapple/core/ts_group.py
Browse files Browse the repository at this point in the history
Co-authored-by: Edoardo Balzani <[email protected]>
  • Loading branch information
qian-chu and BalzaniEdoardo authored May 7, 2024
1 parent 04a0053 commit c642068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynapple/core/ts_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ def merge_group(*tsgroups, reset_index=False, reset_time_support=False, ignore_m
if not ignore_metadata:
if tsg1.metadata_columns != tsg.metadata_columns:
raise ValueError(f"TsGroup at position {i+2} has different metadata columns from previous TsGroup objects. "
"Pass ignore_metadata=True to bypass")
"Set `ignore_metadata=True` to bypass the check.")
metadata = pd.concat([metadata, tsg._metadata], axis=0)

if not reset_index:
Expand Down

0 comments on commit c642068

Please sign in to comment.