Skip to content

Commit

Permalink
Minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Jan 22, 2024
1 parent fe1e788 commit 2ce64e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bidscoin/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,7 @@ def get_run(bidsmap: dict, datatype: str, suffix_idx: Union[int, str], datasourc
if index == suffix_idx or run['bids']['suffix'] == suffix_idx:

# Get a clean run (remove comments to avoid overly complicated commentedMaps from ruamel.yaml)
run_ = create_run(datasource, bidsmap)
run_ = create_run(copy.deepcopy(datasource), bidsmap)
run_['datasource'].datatype = datatype

for propkey, propvalue in run['properties'].items():
Expand Down

0 comments on commit 2ce64e0

Please sign in to comment.