small fix slurm script
This commit is contained in:
parent
1b6f67a671
commit
01c696bfa3
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ def create_slurm_script(slurm_template:str,
|
|||
raise ValueError(f"Array job range provided for job type {job}.")
|
||||
if array is None and job == "scola":
|
||||
raise ValueError(f"Array job range not provided for job type {job}.")
|
||||
else:
|
||||
elif job == "scola":
|
||||
index_sub=array[0]//limit_slurm_arrays
|
||||
array=(array[0]%limit_slurm_arrays, array[1]%limit_slurm_arrays)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue