From 9bef420796c33c4652031c48e0aff76c09cac08d Mon Sep 17 00:00:00 2001 From: Siem de Jong <28396796+siemdejong@users.noreply.github.com> Date: Thu, 7 Dec 2023 20:54:35 +0100 Subject: [PATCH 1/2] fix: vscode link echo to right file --- slurmjob/run_interactive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slurmjob/run_interactive.py b/slurmjob/run_interactive.py index c4603a8..bb7b455 100644 --- a/slurmjob/run_interactive.py +++ b/slurmjob/run_interactive.py @@ -72,7 +72,7 @@ def setup_ssh_and_submit_job(settings, job_name, sbatch_args): machine_name = get_machine_attached_to_job(ssh, job_id, settings['machine_prefix']) print(f"Job {job_id} is running on {machine_name}") - log_file = Path(settings['log_location']) / Path(f"slurm-{job_id}.out") + log_file = PurePosixPath(settings['log_location']) / Path(f"slurm-{job_id}.out") ssh_config_pattern = re.compile(r"Started SSH on port (\d+)") pattern_found_event = threading.Event() From 2afe89ffb4918286f43815c29e0cea9527012b85 Mon Sep 17 00:00:00 2001 From: daangeijs Date: Thu, 7 Dec 2023 21:03:47 +0100 Subject: [PATCH 2/2] bump version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d9bc9bc..321b762 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( author='Daan Geijs', name='slurmjob', - version='0.3.0', + version='0.3.1', packages=find_packages(), install_requires=requirements, entry_points={