scola output

This commit is contained in:
Mayeul Aubin 2025-03-17 11:38:04 +01:00
parent f52a6e3957
commit de414576b8

View file

@ -52,7 +52,7 @@ def main_scola(parsed_args):
if have_no_tiles(parsed_args) or parsed_args.force:
## Submit all boxes
print_message("Submitting all boxes.", 2, "scola", verbose=parsed_args.verbose)
slurm_script = slurm_dict["scripts"]+"scola.sh"
slurm_script = slurm_dict["scripts"]+"scola_"+main_dict["simname"]+".sh"
if not isfile(slurm_script) or parsed_args.force:
print_message(f"SLURM script {slurm_script} does not exist (or forced). Creating it.", 2, "scola", verbose=parsed_args.verbose)
@ -85,7 +85,7 @@ def main_scola(parsed_args):
print_message(f"Submitting missing boxes: {missing_tiles_arrays}.", 2, "scola", verbose=parsed_args.verbose)
for missing_tiles in missing_tiles_arrays:
slurm_script = slurm_dict["scripts"]+"scola_"+str(missing_tiles[0])+"_"+str(missing_tiles[-1])+".sh"
slurm_script = slurm_dict["scripts"]+"scola_"+main_dict["simname"]+"_"+str(missing_tiles[0])+"_"+str(missing_tiles[-1])+".sh"
if not isfile(slurm_script):
print_message(f"SLURM script {slurm_script} does not exist. Creating it.", 2, "scola", verbose=parsed_args.verbose)