Skip to content

Commit 3e415ad

Browse files
committed
fix line args typo
1 parent fb07c67 commit 3e415ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/job.py

+2
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ def __init__(self, sgefile, linenum=None, cmd=None):
335335
for i in ["queue", "memory", "cpu", "out_maping", "workdir"]:
336336
if getattr(args, i):
337337
setattr(self, i, getattr(args, i))
338+
if getattr(args, "memory"):
339+
self.mem = getattr(args, "memory")
338340
if args.mode and args.mode in ["sge", "local", "localhost", "batchcompute"]:
339341
self.host = args.mode
340342
if args.jobname:

0 commit comments

Comments
 (0)