Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Jan 31, 2024
2 parents e5c3fab + 85eb115 commit 612c14e
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 @@ -1698,7 +1698,7 @@ def get_matching_run(datasource: DataSource, bidsmap: dict, runtime=False) -> Tu

# Check if the attribute value matches with the info from the sourcefile
sourcevalue = datasource.attributes(attrkey, validregexp=True)
if attrvalue:
if attrvalue or runtime:
match = match and match_runvalue(sourcevalue, attrvalue)

# Fill the empty attribute with the info from the sourcefile
Expand Down

0 comments on commit 612c14e

Please sign in to comment.