buuuug
This commit is contained in:
parent
f2953cd80a
commit
4a04480105
@ -157,7 +157,7 @@ class Slate():
|
|||||||
def run_slurm(self, filename, name):
|
def run_slurm(self, filename, name):
|
||||||
assert slurm_avaible, 'pyslurm does not seem to be installed on this system.'
|
assert slurm_avaible, 'pyslurm does not seem to be installed on this system.'
|
||||||
config = self.load_config(filename, name)
|
config = self.load_config(filename, name)
|
||||||
slurmC = self.consume(config, 'slurm', True)
|
slurmC = self.consume(config, 'slurm', expand=True)
|
||||||
schedC = self.consume(config, 'scheduler')
|
schedC = self.consume(config, 'scheduler')
|
||||||
s_name = self.consume(slurmC, 'name')
|
s_name = self.consume(slurmC, 'name')
|
||||||
|
|
||||||
@ -278,6 +278,8 @@ class Slate():
|
|||||||
parser.add_argument("-w", "--worker", action="store_true")
|
parser.add_argument("-w", "--worker", action="store_true")
|
||||||
parser.add_argument("-j", "--job_id", default=None, type=int)
|
parser.add_argument("-j", "--job_id", default=None, type=int)
|
||||||
|
|
||||||
|
print('I have job_id ', args.job_id)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
if args.worker:
|
if args.worker:
|
||||||
|
Loading…
Reference in New Issue
Block a user