Commit 8520b0d6 authored by Penom Nom's avatar Penom Nom
Browse files

sync to addanalysis

parent 38d58738
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment