Skip to content

Commit

Permalink
adding patterns of model languages
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Apr 4, 2021
1 parent 5837384 commit 2a267e7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion biosimulators_utils/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.46'
__version__ = '0.1.47'
10 changes: 10 additions & 0 deletions biosimulators_utils/sedml/data_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

__all__ = [
'ModelLanguage',
'ModelLanguagePattern',
'Symbol',
'SedDocument',
'Simulation',
Expand Down Expand Up @@ -66,6 +67,15 @@ class ModelLanguage(str, enum.Enum):
VCML = 'urn:sedml:language:vcml'


class ModelLanguagePattern(str, enum.Enum):
""" Model language """
BNGL = 'urn:sedml:language:bngl'
CellML = r'^urn:sedml:language:cellml(\.\d+_\d+)?$'
NeuroML = r'urn:sedml:language:neuroml(\.version-\d+_\d+_\d+\.level\-\d+)?$'
SBML = r'^urn:sedml:language:sbml(\.level\-\d+\.version\-\d+)$'
VCML = 'urn:sedml:language:vcml'


class Symbol(str, enum.Enum):
""" Variable sumbol """
time = 'urn:sedml:symbol:time'
Expand Down

0 comments on commit 2a267e7

Please sign in to comment.