diff --git a/src/call.py b/src/call.py index 7740b65c623e9ad56ee8c62b521f160e504092c8..826778d29bd0871cef723b7d693e8af25d8afeda 100644 --- a/src/call.py +++ b/src/call.py @@ -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() diff --git a/src/nextflow_file.py b/src/nextflow_file.py index 6e94bfc66786bf606aab8bd7853fdc61c55fd74d..771a3e1adaf8e6ae148bb8df8a20afbb724c06e4 100644 --- a/src/nextflow_file.py +++ b/src/nextflow_file.py @@ -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"):