Skip to content

Commit

Permalink
Yeah, the SCP RESULT sucks
Browse files Browse the repository at this point in the history
  • Loading branch information
Torec Luik committed Sep 21, 2023
1 parent 0cd2b2a commit 6a69763
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions omero_slurm_client/slurm_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,10 @@ def setup_slurm(self):
convert_def = f"{convert_name}.def"
convert_def_local = files("resources").joinpath(
convert_def)
copy_script = self.put(local=convert_script_local,
remote=slurm_convert_path)
copy_def = self.put(local=convert_def_local,
remote=slurm_convert_path)
if not copy_def.ok or not copy_script.ok:
raise SSHException(f"Failed to copy the ZARR-to-TIFF converter \
scripts: {copy_script} / {copy_def}")
_ = self.put(local=convert_script_local,
remote=slurm_convert_path)
_ = self.put(local=convert_def_local,
remote=slurm_convert_path)
# Build singularity container from definition
with self.cd(slurm_convert_path):
convert_cmds = []
Expand Down

0 comments on commit 6a69763

Please sign in to comment.