Skip to content
Snippets Groups Projects
Commit 2b10cc3e authored by Blaise Li's avatar Blaise Li
Browse files

Use sftpcampus to send results.

parent 1b3bec78
Branches
No related tags found
No related merge requests found
...@@ -233,8 +233,8 @@ def cleanup_and_backup(output_dir, config, delete=False): ...@@ -233,8 +233,8 @@ def cleanup_and_backup(output_dir, config, delete=False):
shell(f"rsync -vaP {output_dir} {user}@{host}:{dest_dir}") shell(f"rsync -vaP {output_dir} {user}@{host}:{dest_dir}")
# TODO: find the explicit and correct exception # TODO: find the explicit and correct exception
except Exception: except Exception:
print(f"backuping results to {user}@myriad:{dest_dir}") print(f"backuping results to {user}@sftpcampus.pasteur.fr:{dest_dir}")
shell(f"rsync -vaP {output_dir} {user}@myriad:{dest_dir}") shell(f"rsync -vaP {output_dir} {user}@sftpcampus.pasteur.fr:{dest_dir}")
def read_int_from_file(filename): def read_int_from_file(filename):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment