-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test pybids_reports CLI on all bids examples #70
Comments
the current test we have only runs on a subset of datasets so we may miss things like this pybids_reports bids-examples/7t_trt /home/remi/github/bids/pybids-reports
[16:04:52] WARNING File not found or empty: parsing.py:395
['sub-01/ses-1/anat/sub-01_ses-1_T1w.nii.gz']
WARNING File not found or empty: parsing.py:395
['sub-01/ses-1/fmap/sub-01_ses-1_run-1_phasediff.nii.gz']
Traceback (most recent call last):
File "/home/remi/github/bids/pybids-reports/env/bin/pybids_reports", line 8, in <module>
sys.exit(cli())
^^^^^
File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/cli.py", line 124, in cli
counter = report.generate()
^^^^^^^^^^^^^^^^^
File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/report.py", line 179, in generate
descriptions.append(self._report_subject(subject=sub, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/report.py", line 226, in _report_subject
ses_description = parsing.parse_files(
^^^^^^^^^^^^^^^^^^^^
File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/parsing.py", line 349, in parse_files
group_description = fmap_info(layout, group, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/parsing.py", line 235, in fmap_info
"intended_for": parameters.intendedfor_targets(metadata, layout),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/parameters.py", line 196, in intendedfor_targets
run_num = int(if_file.run)
^^^^^^^^^^^
File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/layout/models.py", line 234, in __getattr__
raise AttributeError("%s object has no attribute named %r" %
AttributeError: BIDSImageFile object has no attribute named 'run' |
can currently run with no crash on dataset starting with: asl ds00 eeg meg ieeg pet
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tried and it started to fail pretty quickly
The text was updated successfully, but these errors were encountered: