Skip to content

No local files#189

Merged
srmnitc merged 2 commits intomainfrom
no_local_files
Mar 7, 2026
Merged

No local files#189
srmnitc merged 2 commits intomainfrom
no_local_files

Conversation

@srmnitc
Copy link
Copy Markdown
Member

@srmnitc srmnitc commented Mar 6, 2026

No description provided.

srmnitc added 2 commits March 6, 2026 17:40
…ls IRIs

- Replace custom Namespace class with plain rdflib.Namespace (purls IRIs)
- Remove all UNSAFE* namespace aliases (no longer needed)
- Remove triple validation machinery (_check_domain, _check_range, _modify_triple)
- Replace all NAMESPACE.Term.uri with str(NAMESPACE.Term)
- Replace typev.toPython() == NAMESPACE.Term.uri with typev == NAMESPACE.Term
- Remove all validate=False kwargs from graph.add() calls
- Delete local OWL files (asmo, cdco, cmso, ldo, pldo, podo, rdfs)
- Update ontology.py to fetch from purls over HTTP
- Wrap read_ontology() in try-except for graceful degradation when purls offline
- Skip ontology-dependent tests when network/purls unavailable
- Update MANIFEST.in to include only yml/rdf data files
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 6, 2026

Codecov Report

❌ Patch coverage is 78.16092% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.98%. Comparing base (545fe3e) to head (7b597b8).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
atomrdf/ontology.py 22.22% 7 Missing ⚠️
atomrdf/datamodels/defects/complex.py 0.00% 4 Missing ⚠️
atomrdf/datamodels/workflow/algorithm.py 66.66% 3 Missing ⚠️
atomrdf/datamodels/workflow/workflow.py 0.00% 3 Missing ⚠️
atomrdf/graph.py 88.23% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #189      +/-   ##
==========================================
- Coverage   58.50%   56.98%   -1.53%     
==========================================
  Files          42       42              
  Lines        3868     3759     -109     
==========================================
- Hits         2263     2142     -121     
- Misses       1605     1617      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@srmnitc srmnitc merged commit 574cab2 into main Mar 7, 2026
4 checks passed
@srmnitc srmnitc deleted the no_local_files branch March 7, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant