Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
8520b0d6
Commit
8520b0d6
authored
Sep 18, 2014
by
Penom Nom
Browse files
sync to addanalysis
parent
38d58738
Changes
1
Hide whitespace changes
Inline
Side-by-side
workflows/addanalysis/__init__.py
View file @
8520b0d6
...
...
@@ -28,6 +28,8 @@ class AddAnalysis (BasicNG6Workflow):
"""
Run the workflow
"""
self
.
runobj
=
None
self
.
project
=
None
# First check if files provided exists
files_to_save
=
[]
for
file
in
self
.
args
[
"data_file"
]:
...
...
@@ -57,4 +59,9 @@ class AddAnalysis (BasicNG6Workflow):
self
.
args
[
"analysis_description"
],
self
.
args
[
"analysis_software"
],
self
.
args
[
"analysis_software_options"
],
self
.
args
[
"analysis_software_version"
],
self
.
args
[
"compression"
],
self
.
args
[
"delete"
],
self
.
args
[
"archive_name"
]],
addto
=
addto
)
\ No newline at end of file
def
post_process
(
self
):
if
self
.
runobj
:
self
.
runobj
.
sync
()
elif
self
.
project
:
self
.
project
.
sync
()
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment