Skip to content
Snippets Groups Projects
Commit 1969062a authored by Maite Mateu-Lucena's avatar Maite Mateu-Lucena
Browse files

Modifications of slurm and parser

parent ca05cc91
No related branches found
No related tags found
No related merge requests found
Pipeline #157459 passed
......@@ -322,11 +322,7 @@ def _add_slurm_settings_to_parser(parser):
"--mem-per-cpu",
type=str,
default=None,
<<<<<<< HEAD:src/parser.py
help="Memory per CPU",
=======
help="Memory per CPU (defaults to None)",
>>>>>>> upstream/master:parallel_bilby/parser.py
)
slurm_group.add_argument(
"--extra-lines",
......
......@@ -56,7 +56,7 @@ class BaseNode(object):
for line in slurm_extra_lines.split():
lines.append("#SBATCH {}".format(line))
lines.append("")
if self.args.extra_lines is not None:
if self.args.extra_lines:
for line in self.args.extra_lines.split(";"):
lines.append(line.strip())
lines.append("")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment