Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libworkflows
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Blaise LI
libworkflows
Commits
2b10cc3e
Commit
2b10cc3e
authored
4 years ago
by
Blaise Li
Browse files
Options
Downloads
Patches
Plain Diff
Use sftpcampus to send results.
parent
1b3bec78
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libworkflows/libworkflows.py
+2
-2
2 additions, 2 deletions
libworkflows/libworkflows.py
with
2 additions
and
2 deletions
libworkflows/libworkflows.py
+
2
−
2
View file @
2b10cc3e
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment