@@ -462,6 +462,8 @@ class Process(Nextflow_Building_Blocks):
...
@@ -462,6 +462,8 @@ class Process(Nextflow_Building_Blocks):
#code = process_2_DSL2(code)
#code = process_2_DSL2(code)
lines=[]
lines=[]
forlineincode.split("\n"):
forlineincode.split("\n"):
if(" def "in""+line):
raiseBioFlowInsightError(f"[DSL1 converter error] Do not recognise the input '{line.strip()}' in the process '{self.get_name()}'. Try rewritting it in a different way.")
temp=process_2_DSL2(line.split(" from ")[0])
temp=process_2_DSL2(line.split(" from ")[0])
lines.append(temp)
lines.append(temp)
#TODO -> need to determine if it's on it's own is it either a path or val
#TODO -> need to determine if it's on it's own is it either a path or val