Skip to content

Commit

Permalink
fixing issue with identification of SED-ML files
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Mar 1, 2021
1 parent f059724 commit d1376cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biosimulators_utils/combine/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_sedml_contents(archive, include_non_executing_docs=False):

sedml_contents = []
for content in potential_content:
if re.match(CombineArchiveContentFormatPattern.SED_ML.value, content.format):
if content.format and re.match(CombineArchiveContentFormatPattern.SED_ML.value, content.format):
sedml_contents.append(content)
sedml_contents.sort(key=lambda content: content.location)

Expand Down

0 comments on commit d1376cc

Please sign in to comment.