diff --git a/pysd/builders/python/python_expressions_builder.py b/pysd/builders/python/python_expressions_builder.py index b207d3b9..1d685a51 100644 --- a/pysd/builders/python/python_expressions_builder.py +++ b/pysd/builders/python/python_expressions_builder.py @@ -891,7 +891,7 @@ def build(self, arguments: dict) -> Union[BuildAST, None]: """ self.component.type = "Lookup" self.component.subtype = "External" - arguments["params"] = "'%s', '%s', '%s', '%s'" % ( + arguments["params"] = "r'%s', '%s', '%s', '%s'" % ( self.file, self.tab, self.x_row_or_col, self.cell ) final_subs, arguments["subscripts"] =\ @@ -966,7 +966,7 @@ def build(self, arguments: dict) -> Union[BuildAST, None]: """ self.component.type = "Data" self.component.subtype = "External" - arguments["params"] = "'%s', '%s', '%s', '%s'" % ( + arguments["params"] = "r'%s', '%s', '%s', '%s'" % ( self.file, self.tab, self.time_row_or_col, self.cell ) final_subs, arguments["subscripts"] =\ @@ -1041,7 +1041,7 @@ def build(self, arguments: dict) -> Union[BuildAST, None]: """ self.component.type = "Constant" self.component.subtype = "External" - arguments["params"] = "'%s', '%s', '%s'" % ( + arguments["params"] = "r'%s', '%s', '%s'" % ( self.file, self.tab, self.cell ) final_subs, arguments["subscripts"] =\