Skip to content

Commit

Permalink
Rename default job names
Browse files Browse the repository at this point in the history
  • Loading branch information
bfhealy committed Jan 10, 2024
1 parent 493a482 commit 1ee9263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/generate_features_slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 1ee9263

Please sign in to comment.