run

Import in python using from mcot.core._scripts.split.submit import run

mcot.core._scripts.split.submit.run(njobs, mask_fn, cmd, submit_params: fsl.utils.fslsub.SubmitParams)[source]

Submits the cmd multiple times for different parts of the mask

Parameters:
  • njobs – number of jobs to submit
  • mask_fn – mask filename (has to exist at the time the run scripts start
  • cmd – command line string
  • submit_params – submission parameters
Returns:

string with the final job id