Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ ignore =
# break after binary operator - allow either style
exclude=
.git,
build,
dev-requirements,
venv,
2 changes: 0 additions & 2 deletions chaste_codegen/_rdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class given by ``term``, i.e. are connected to it by a path of ``rdf:type`` pred
assert isinstance(term, tuple), "Expecting term to be a namespace tuple"
assert isinstance(model, Model), "Expecting model to be a cellmlmanip Model"

global _ONTOLOGY
_load_ontoloty()

term = create_rdf_node(term)
Expand All @@ -81,7 +80,6 @@ class given by ``term``, i.e. are connected to it by a path of ``rdf:type`` pred
def get_MultipleUsesAllowed_tags():
global _MULTI_USES_ALLOWED_TAGS
if _MULTI_USES_ALLOWED_TAGS is None:
global _ONTOLOGY
_load_ontoloty()
_MULTI_USES_ALLOWED_TAGS = set(str(term).replace(OXMETA, '')
for term in _ONTOLOGY.subjects(rdflib.RDF.type,
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pyparsing==3.2.1
pytest==8.3.4
pytest-cov==6.0.0
rdflib==7.1.3
requests==2.32.3
requests==2.32.4
six==1.17.0
snowballstemmer==2.2.0
Sphinx==7.4.7
Expand Down