lnnrtwttkhn / highspeed-fast-preproc

0 stars 0 forks source link

Nipype error: `IndexError: list index out of range` #2

Open lnnrtwttkhn opened 1 month ago

lnnrtwttkhn commented 1 month ago

when running this version of the code:

240730-12:34:36,195 nipype.workflow INFO:
         Submitting: preproc.selectfiles ID: 0
Traceback (most recent call last):
  File "/mnt/beegfs/home/wittkuhn/highspeed-fast/highspeed-fast-preproc/code/highspeed-fast-preproc.py", line 224, in <module>
    wf.run(plugin='SLURM', plugin_args=dict(template=job_template))
  File "/mnt/beegfs/home/wittkuhn/highspeed-fast/highspeed-fast-preproc/venv/lib/python3.11/site-packages/nipype/pipeline/engine/workflows.py", line 638, in run
    runner.run(execgraph, updatehash=updatehash, config=self.config)
  File "/mnt/beegfs/home/wittkuhn/highspeed-fast/highspeed-fast-preproc/venv/lib/python3.11/site-packages/nipype/pipeline/plugins/base.py", line 199, in run
    self._send_procs_to_workers(updatehash=updatehash, graph=graph)
  File "/mnt/beegfs/home/wittkuhn/highspeed-fast/highspeed-fast-preproc/venv/lib/python3.11/site-packages/nipype/pipeline/plugins/base.py", line 357, in _send_procs_to_workers
    tid = self._submit_job(
          ^^^^^^^^^^^^^^^^^
  File "/mnt/beegfs/home/wittkuhn/highspeed-fast/highspeed-fast-preproc/venv/lib/python3.11/site-packages/nipype/pipeline/plugins/base.py", line 573, in _submit_job
    return self._submit_batchtask(batchscriptfile, node)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/beegfs/home/wittkuhn/highspeed-fast/highspeed-fast-preproc/venv/lib/python3.11/site-packages/nipype/pipeline/plugins/slurm.py", line 146, in _submit_batchtask
    taskid = int(re.match(self._jobid_re, lines[-1]).groups()[0])
                                          ~~~~~^^^^
IndexError: list index out of range