From 1ee92635fd3db8a65c3a4934bece8febe81bdb5b Mon Sep 17 00:00:00 2001 From: Brian Healy Date: Wed, 10 Jan 2024 11:22:23 -0500 Subject: [PATCH] Rename default job names --- tools/generate_features_slurm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/generate_features_slurm.py b/tools/generate_features_slurm.py index d6f47c4..8115166 100755 --- a/tools/generate_features_slurm.py +++ b/tools/generate_features_slurm.py @@ -315,7 +315,7 @@ def check_quads_for_sources( parser.add_argument( "--job_name", type=str, - default='generate_features', + default='ztf_fg', help="job name", ) parser.add_argument( @@ -641,7 +641,7 @@ def check_quads_for_sources( # (Python code can also be run interactively) fid = open(os.path.join(slurmDir, 'slurm_submission.sub'), 'w') fid.write('#!/bin/bash\n') - fid.write(f'#SBATCH --job-name={args.job_name}_submit.job\n') + fid.write('#SBATCH --job-name=submit_jobs.job\n') fid.write(f'#SBATCH --output=../logs/{args.job_name}_submit_%A_%a.out\n') fid.write(f'#SBATCH --error=../logs/{args.job_name}_submit_%A_%a.err\n') fid.write(f'#SBATCH -p {args.submit_partition_type}\n')