[Loris-dev] BIDS upload in LORIS - Participants file
Morales Pinzon, Alfredo
AMORALESPINZON at BWH.HARVARD.EDU
Sat Apr 24 11:10:01 EDT 2021
Dear LorisDev team,
I am launching the insertion pipeline in LORIS of a dataset in BIDS format. I am getting the following error:
===
Loading the BIDS dataset with BIDS layout library...
=> BIDS dataset loaded with BIDS layout
Grepping candidates from the BIDS layout...
Validating the list of participants...
Traceback (most recent call last):
File "bids_import.py", line 431, in <module>
main()
File "bids_import.py", line 75, in main
read_and_insert_bids(bids_dir, config_file, verbose, createcand, createvisit)
File "bids_import.py", line 157, in read_and_insert_bids
bids_reader = BidsReader(bids_dir, verbose)
File "/data_/ipmsa/loris_data/IPMSA/bin/mri/python/lib/bidsreader.py", line 62, in __init__
self.participants_info = self.load_candidates_from_bids()
File "/data_/ipmsa/loris_data/IPMSA/bin/mri/python/lib/bidsreader.py", line 114, in load_candidates_from_bids
self.candidates_list_validation(participants_info)
File "/data_/ipmsa/loris_data/IPMSA/bin/mri/python/lib/bidsreader.py", line 142, in candidates_list_validation
for row in participants_info:
TypeError: 'NoneType' object is not iterable
===
It looks like the file “participants.tsv” is required in LORIS, is this correct? In the BIDS specification this file is not required (https://bids-specification.readthedocs.io/en/stable/03-modality-agnostic-files.html#participants-file) and there is no mention in LORIS documentation (https://github.com/aces/Loris-MRI/blob/main/docs/05-PipelineLaunchOptions.md#52---pipeline-launch-for-bids-datasets).
Thank you in advance for your help.
Best regards,
Alfredo.
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at http://www.massgeneralbrigham.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20210424/fdd0823e/attachment.html>
More information about the Loris-dev
mailing list