Hello,
SHORT ANSWER: PLEASE UPDATE LINE 1049 OF qunex_container SO THE KEYWORD IS scheduler_name
, NOT scheduler
I am running the quick start instructions, opting to try the scheduler approach (4b in the tutorial). Everything goes okay up until that point.
When I run the command in 4B, I get the following error:
--> QuNex will run the command over 1 sessions. It will utilize:
Scheduled jobs: 1
Maximum sessions run in parallel for a job: 1.
Maximum elements run in parallel for a session: 1.
Up to 1 processes will be utilized for a job.
Job #1 will run sessions: HCPA001
Traceback (most recent call last):
File "/nese/mit/group/gablab/data/HCP/BIDS_style/code/qunex/qunex_container", line 1054, in <module>
main()
File "/nese/mit/group/gablab/data/HCP/BIDS_style/code/qunex/qunex_container", line 1049, in main
schedule(command=containerCommand, scheduler=scheduler_name, scheduler_params=scheduler_params.copy(), output=output, parsessions=parsessions, parelements=parelements, batchlogsfolder=batchlogsfolder, slurm_array=slurm_array)
TypeError: schedule() got an unexpected keyword argument 'scheduler'
Looking at qunex_container
, I confirm that indeed schedule()
does not have a keyword for scheduler
, but does have an input for scheduler_name
. I changed line 1049 to reflect that change, and the script begins as intended. Please update this on the official repository (or is this a pull request I can initiate?).
Thanks,
Steven