Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to the
atomrdf
package, focusing on refactoring imports, updating dependencies, and removing deprecated code. The most important changes are summarized below:Refactoring Imports:
atomrdf/graph.py
: Updated import statements to removeatomrdf.network.network
andatomrdf.network.ontology
, replacing them withatomrdf.ontology
.atomrdf/namespace.py
: Changed import fromatomrdf.network.network
totools4rdf.network.network
.Code Removal:
atomrdf/network/ontology.py
: Entire file removed, including theread_ontology
function and associated documentation.atomrdf/network/parser.py
: Entire file removed, including theOntoParser
class and its methods.atomrdf/network/patch.py
: Entire file removed, which contained specific patches foratomrdf
.tests/test_term.py
: Entire test file removed, which included various test functions for ontology terms.Dependency Updates:
environment-docs.yml
andenvironment.yml
: Addedtools4rdf >=0.2.0
to dependencies. [1] [2]Function Modifications:
atomrdf/ontology.py
: Added a newread_ontology
function that utilizestools4rdf
for parsing ontologies.atomrdf/workflow/workflow.py
: Modified_select_base_property
method to set the datatype ofLiteral
toXSD.float
.These changes aim to streamline the codebase by removing outdated components and improving the overall structure and dependencies.