diff --git a/cluster/slurm.py b/cluster/slurm.py index 2c45ed8..38182c3 100644 --- a/cluster/slurm.py +++ b/cluster/slurm.py @@ -8,7 +8,6 @@ def build_slurm_cluster(config: dict): processes = config.get("processes", 1) cores = config.get("cores", 1) memory = config.get("memory", "4GB") - interface = config.get("interface", None) walltime = config.get('walltime', "01:00:00") job_extras = config.get("job_extra", []) job_script_prologue = config.get("env_setup", []) @@ -18,7 +17,6 @@ def build_slurm_cluster(config: dict): processes=processes, cores=cores, memory=memory, - interface=interface, walltime=walltime, job_extra_directives=job_extras, job_script_prologue=job_script_prologue diff --git a/image/formats.py b/image/formats.py index d70147e..e5f2791 100644 --- a/image/formats.py +++ b/image/formats.py @@ -21,7 +21,7 @@ def validate_or_enforce_zarr(source: str, save_path: str = None, chunk_formats: print(os.listdir(".")) if not os.path.isfile(source): - raise ValueError("The source provided was not a valid path.") + raise ValueError("The source provided [" + source + "] was not a valid path.") # Use the current file's directory to save the new zarr file (if required) if not save_path: diff --git a/test_data/slurm_execution_config.json b/test_data/slurm_execution_config.json index 0e11b08..2b486c3 100644 --- a/test_data/slurm_execution_config.json +++ b/test_data/slurm_execution_config.json @@ -8,10 +8,9 @@ "job_extra": [ "--gres gpu:1" ], - "interface": "ib0", "env_setup": [ "ml Anaconda3", - "conda activate /camp/stp/ddt/workings/smithj1/envs/clijd_dask" + "conda activate /camp/stp/ddt/working/smithj1/envs/clijd_dask" ], "walltime": "01:00:00" } \ No newline at end of file