Skip to content

use self.script(convert=False) in __str__ #47

@yyweiss

Description

@yyweiss

The script needs to be escaped for creating the actual sbatch script.

str(slurm_object) should show the expected script as is.

For example, the lines:

with open("script.sh", mode="w") as f:
    print(slurm_object,file=f)

should generally work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions