Closed willtack closed 3 years ago
On it @willtack
@willtack give it another try with 0.3.1
Thanks! Unfortunately now I get this error around the same point as the last:
DEBUG: Updating BIDS:
{'Filename': 'sub-P093_ses-preop3T_aslcontext.tsv', 'Folder': 'perf', 'Path': 'sub-P093/ses-preop3T/perf'}
INFO: Attachment uploaded!
Traceback (most recent call last):
File "/usr/local/bin/fw-heudiconv-curate", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/fw_heudiconv/cli/curate.py", line 331, in main
dry_run=args.dry_run)
File "/usr/local/lib/python3.7/site-packages/fw_heudiconv/cli/curate.py", line 238, in convert_to_bids
dry_run=dry_run
File "/usr/local/lib/python3.7/site-packages/fw_heudiconv/backend_funcs/convert.py", line 395, in upload_attachment
attachment_dict['name'] = force_template_format(attachment_dict['name'])
TypeError: 'type' object is not subscriptable
INFO: Done!
INFO: ================: Exiting fw-heudiconv gear manager :=================
Traceback (most recent call last):
File "./fw_heudiconv_run.py", line 117, in <module>
raise Exception("fw-heudiconv exited with errors! See the log for more info.")
Exception: fw-heudiconv exited with errors! See the log for more info.
Job ID: 5f2477d9c888f404fe41bec1
@willtack there's a typo in your heuristic, in your AttachToSession()
you define a variable object1
but in your return statement you return object
(which is a python reserved word)
Okay, works great now. Thanks!
Describe the issue Receiving a bug when I run the latest version (0.3.0) with the Flywheel GUI, which says
The error occurs while creating the asl_context.tsv file.
Were you running
fw-heudiconv
locally or from Flywheel's GUI?[X] GUI
If you ran it through the GUI, please paste the Job ID below:
Please paste your heuristic below:
Please paste any relevant output below
Add any additional context or information below