Skip to content

Commit

Permalink
fixes #1051: master channel name is duplicated in a channel group
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Jul 4, 2024
1 parent f40f68d commit 872af03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/asammdf/blocks/mdf_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,8 @@ def append(
gp_dep.append(None)

fields.append(timestamps)
types.append((name, timestamps.dtype))

types.append((field_names.get_unique_name(name), timestamps.dtype))

offset += t_size
ch_cntr += 1
Expand Down Expand Up @@ -2178,8 +2179,7 @@ def _append_dataframe(
gp_dep.append(None)

fields.append(timestamps)
types.append((name, timestamps.dtype))
field_names.get_unique_name(name)
types.append((field_names.get_unique_name(name), timestamps.dtype))

offset += t_size
ch_cntr += 1
Expand Down

0 comments on commit 872af03

Please sign in to comment.