Skip to content

Commit 086c05b

Browse files
linting fixes
1 parent 6b4fd89 commit 086c05b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

biosimulators_utils/sedml/utils.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,6 @@ def apply_changes_to_xml_model(model, model_etree, sed_doc=None, working_dir=Non
536536
# New Method for ModelAttributeChange
537537
xml_target_captures = regex.split(r"[\@|=]", xpath_captures[-2])
538538
xml_target_captures[2] = xml_target_captures[2][1:-1]
539-
#_, target_type, target_value = tuple(xml_target_captures)
540539
xml_model_element = eval_xpath(model_etree, change.target, change.target_namespaces)
541540
if validate_unique_xml_targets and len(xml_model_element) != 1:
542541
raise ValueError(f'xpath {change.target} must match a single object')
@@ -561,7 +560,7 @@ def apply_changes_to_xml_model(model, model_etree, sed_doc=None, working_dir=Non
561560
elif type_suffix == "parameter" and attribute.get("value") is not None:
562561
attribute.set("value", change.new_value)
563562
elif (type_suffix == "reaction" and second_type_suffix == "parameter"
564-
and attribute.get("value") is not None): # Reaction parameter change
563+
and attribute.get("value") is not None): # Reaction parameter change
565564
attribute.set("value", change.new_value)
566565
else:
567566
change.model = model

0 commit comments

Comments
 (0)