From 60a8b5738deaa687133a1dd64086be1274e19d5c Mon Sep 17 00:00:00 2001 From: George Marchment <georgemarchment@yahoo.fr> Date: Thu, 17 Apr 2025 12:36:33 +0200 Subject: [PATCH] Updated error --- src/code_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code_.py b/src/code_.py index 519be9e..ce88418 100644 --- a/src/code_.py +++ b/src/code_.py @@ -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): -- GitLab