From e1821c81079e9ee8143d7cf7462c77da3a508675 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Fri, 17 Jun 2022 10:34:36 +0200 Subject: [PATCH] Rename job script template The old name was not getting included in the conda package. --- compass/job/__init__.py | 2 +- compass/job/{template.sh => job_script.template} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename compass/job/{template.sh => job_script.template} (100%) diff --git a/compass/job/__init__.py b/compass/job/__init__.py index 526931efd5..7345230506 100644 --- a/compass/job/__init__.py +++ b/compass/job/__init__.py @@ -82,7 +82,7 @@ def write_job_script(config, machine, target_cores, min_cores, work_dir, wall_time = config.get('job', 'wall_time') template = Template(resources.read_text( - 'compass.job', 'template.sh')) + 'compass.job', 'job_script.template')) text = template.render(job_name=job_name, account=account, nodes=f'{nodes}', wall_time=wall_time, qos=qos, diff --git a/compass/job/template.sh b/compass/job/job_script.template similarity index 100% rename from compass/job/template.sh rename to compass/job/job_script.template