Skip to content
Snippets Groups Projects
Commit 07b3e770 authored by George Marchment's avatar George Marchment
Browse files

Remove some files from output (outdated)

parent e8ce5b5f
No related branches found
No related tags found
No related merge requests found
......@@ -427,7 +427,7 @@ class Call(Executor):
def initialise(self):
self.analyse_call(self.get_code(clean_pipe = True))
self.write_summary()
self.add_call_count()
#self.add_call_count()
......
......@@ -44,7 +44,7 @@ class Nextflow_File(Nextflow_Building_Blocks):
self.added_2_rocrate = False
self.check_file_correctness()
self.set_DSL(DSL=DSL)
self.extract_metadata()
#self.extract_metadata()
self.check_file_correctness_after_DSL()
self.set_null()
......@@ -539,20 +539,20 @@ class Nextflow_File(Nextflow_Building_Blocks):
sub.initialise()
indice+=1
if(self.first_file):
number_process_used = 0
with open(self.output_dir / 'debug/processes_used.json') as json_file:
dict = json.load(json_file)
for file in dict:
number_process_used+=len(set(dict[file]))
with open(self.output_dir / "general.json") as json_file:
dico_wf = json.load(json_file)
#dico_wf["processes"]["number used"] = number_process_used
with open(self.output_dir / "general.json", "w") as outfile:
json.dump(dico_wf, outfile, indent=4)
#if(self.first_file):
# number_process_used = 0
# with open(self.output_dir / 'debug/processes_used.json') as json_file:
# dict = json.load(json_file)
# for file in dict:
# number_process_used+=len(set(dict[file]))
#
# with open(self.output_dir / "general.json") as json_file:
# dico_wf = json.load(json_file)
#
# #dico_wf["processes"]["number used"] = number_process_used
#
# with open(self.output_dir / "general.json", "w") as outfile:
# json.dump(dico_wf, outfile, indent=4)
elif(self.get_DSL()=="DSL1"):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment