Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzierep committed Mar 11, 2024
1 parent 0bfe123 commit 8a21c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/extract_galaxy_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def get_xref(el: et.Element, attrib_type: str) -> Optional[str]:
for xref in xref_items:
if xref is not None and xref.attrib["type"] == attrib_type:
# should not contain any space of linebreak
xref_sanitized = xref.text.replace("\n", "").replace(" ", "")
xref_sanitized = str(xref.text).replace("\n", "").replace(" ", "")
return xref_sanitized
return None

Expand Down

0 comments on commit 8a21c5b

Please sign in to comment.