Skip to content

Commit

Permalink
Bugfixes in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Sep 23, 2024
1 parent 131f7a1 commit 7f47f17
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 @@ -1284,7 +1284,7 @@ def get_matching_run(self, datasource: DataSource, runtime=False) -> Tuple[RunIt

unknowndatatypes = self.options.get('unknowntypes') or ['unknown_data']
ignoredatatypes = self.options.get('ignoretypes') or []
bidsdatatypes = [dtype.datatype for dtype in self.dataformat(datasource.dataformat).datatypes if dtype not in unknowndatatypes + ignoredatatypes]
bidsdatatypes = sorted([dtype.datatype for dtype in self.dataformat(datasource.dataformat).datatypes if dtype not in unknowndatatypes + ignoredatatypes])
datasource = copy.deepcopy(datasource)
rundata = {'provenance': str(datasource.path), 'properties': {}, 'attributes': {}, 'bids': {}, 'meta': {}}
"""The a run-item data structure. NB: Keep in sync with the RunItem() data attributes"""
Expand Down

0 comments on commit 7f47f17

Please sign in to comment.