Skip to content

Commit

Permalink
Minor tweak (Github issue #226)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Feb 14, 2024
1 parent 90d855e commit 0672aaa
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 @@ -2218,7 +2218,7 @@ def bidsprov(sesfolder: Path, source: Path, runid: str='', datatype: str='unknow
if bidsfolder.name.startswith('sub-'):
bidsfolder = bidsfolder.parent
provfile = bidsfolder/'code'/'bidscoin'/'bidscoiner.tsv'
targets = [target.relative_to(bidsfolder) for target in targets]
targets = [target.relative_to(bidsfolder) for target in sorted(targets)]

# Read the provenance data and add the new data to it
if provfile.is_file():
Expand Down

0 comments on commit 0672aaa

Please sign in to comment.