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

Updated error

parent 22a49d75
No related branches found
No related tags found
No related merge requests found
Pipeline #14639 failed with stage
in 2 minutes and 12 seconds
......@@ -201,7 +201,7 @@ class Code:
#Check if there is still a ternary operation in this case we cannot analyse it
#Cause it is a complexe/multiple ternanry operation
for match in re.finditer(pattern, code):
raise BioFlowInsightError("Detected a multi ternary operation (a ternary operation in a ternary operation). BioFlow-Insight does not support this, try defining it in a different way.", type="Multi ternary operation")
raise BioFlowInsightError(f"Detected a multi ternary operation (a ternary operation in a ternary operation) in the file '{self.origin.get_file_address()}'. BioFlow-Insight does not support this, try defining it in a different way.", type="Multi ternary operation")
return code
def rewrite_jump_dot(self, code):
......
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