Thanks,

Just

python ~/opt/script/auto_run_te_by_steps.py {} $SLURM_JOB_ID

is works.

On 2017年8月22日周二 20:52 Chris Samuel <[email protected]> wrote:

>
> On Tuesday, 22 August 2017 9:46:17 PM AEST 刘科 wrote:
>
> > python ~/opt/script/auto_run_te_by_steps.py {} `%SLURM_JOB_ID`
>
> Try this instead:
>
> python ~/opt/script/auto_run_te_by_steps.py '{}' ${SLURM_JOB_ID}
>
> That uses single quotes to stop the shell from trying to expand whatever
> that
> is (I'm not a Python programmer) and then adds the Slurm job ID as the
> final
> argument.
>
> Hope that helps..
> Chris
> --
>  Christopher Samuel        Senior Systems Administrator
>  Melbourne Bioinformatics - The University of Melbourne
>  Email: [email protected] Phone: +61 (0)3 903 55545
>

Reply via email to