@@ -234,7 +234,7 @@ def __list_evaluations(
234234 # Minimalistic check if the XML is useful
235235 if "oml:evaluations" not in evals_dict :
236236 raise ValueError (
237- " Error in return XML, does not contain " f' "oml:evaluations": { evals_dict !s} ' ,
237+ f' Error in return XML, does not contain "oml:evaluations": { evals_dict !s} ' ,
238238 )
239239
240240 assert isinstance (evals_dict ["oml:evaluations" ]["oml:evaluation" ], list ), type (
@@ -321,9 +321,9 @@ def list_evaluation_measures() -> list[str]:
321321 qualities = xmltodict .parse (xml_string , force_list = ("oml:measures" ))
322322 # Minimalistic check if the XML is useful
323323 if "oml:evaluation_measures" not in qualities :
324- raise ValueError (" Error in return XML, does not contain " ' "oml:evaluation_measures"' )
324+ raise ValueError (' Error in return XML, does not contain "oml:evaluation_measures"' )
325325 if not isinstance (qualities ["oml:evaluation_measures" ]["oml:measures" ][0 ]["oml:measure" ], list ):
326- raise TypeError (" Error in return XML, does not contain " ' "oml:measure" as a list' )
326+ raise TypeError (' Error in return XML, does not contain "oml:measure" as a list' )
327327 return qualities ["oml:evaluation_measures" ]["oml:measures" ][0 ]["oml:measure" ]
328328
329329
@@ -343,13 +343,13 @@ def list_estimation_procedures() -> list[str]:
343343
344344 # Minimalistic check if the XML is useful
345345 if "oml:estimationprocedures" not in api_results :
346- raise ValueError (" Error in return XML, does not contain " ' "oml:estimationprocedures"' )
346+ raise ValueError (' Error in return XML, does not contain "oml:estimationprocedures"' )
347347 if "oml:estimationprocedure" not in api_results ["oml:estimationprocedures" ]:
348- raise ValueError (" Error in return XML, does not contain " ' "oml:estimationprocedure"' )
348+ raise ValueError (' Error in return XML, does not contain "oml:estimationprocedure"' )
349349
350350 if not isinstance (api_results ["oml:estimationprocedures" ]["oml:estimationprocedure" ], list ):
351351 raise TypeError (
352- " Error in return XML, does not contain " ' "oml:estimationprocedure" as a list' ,
352+ ' Error in return XML, does not contain "oml:estimationprocedure" as a list' ,
353353 )
354354
355355 return [
@@ -415,7 +415,7 @@ def list_evaluations_setups(
415415 """
416416 if parameters_in_separate_columns and (flows is None or len (flows ) != 1 ):
417417 raise ValueError (
418- "Can set parameters_in_separate_columns to true " " only for single flow_id" ,
418+ "Can set parameters_in_separate_columns to true only for single flow_id" ,
419419 )
420420
421421 # List evaluations
0 commit comments