Skip to content

Commit

Permalink
Fixed bug when executing rsync through srun
Browse files Browse the repository at this point in the history
  • Loading branch information
Shettland authored and saramonzon committed Mar 1, 2024
1 parent 1ad2d53 commit 90a3d26
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bu_isciii/scratch.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ def __init__(
)

self.full_path = os.path.join(self.path, self.service_folder)
self.out_file = os.path.join(
self.full_path, "DOC", "service_info.txt"
)
self.out_file = os.path.join(self.full_path, "DOC", "service_info.txt")

def srun_command(self, srun_settings, command):
command_list = [["srun"], srun_settings, command]
Expand All @@ -114,7 +112,7 @@ def copy_scratch(self):
if protocol == "rsync":
rsync_command = sysrsync.get_rsync_command(
source=self.full_path,
destination=self.conf["scratch_path"]+"/",
destination=self.conf["scratch_path"] + "/",
options=self.conf["options"],
exclusions=self.conf["exclusions"],
sync_source_contents=False,
Expand Down

0 comments on commit 90a3d26

Please sign in to comment.