Skip to content

remove explicit file check so IRIs can be parsed#46

Merged
srmnitc merged 1 commit intomainfrom
parse_iri
Apr 7, 2025
Merged

remove explicit file check so IRIs can be parsed#46
srmnitc merged 1 commit intomainfrom
parse_iri

Conversation

@srmnitc
Copy link
Copy Markdown
Collaborator

@srmnitc srmnitc commented Apr 7, 2025

This pull request includes a change to the tools4rdf/network/parser.py file to improve the robustness of the parse_ontology function by removing an unnecessary file existence check.

Codebase simplification:

  • tools4rdf/network/parser.py: Removed the check for file existence (os.path.exists(infile)) and the corresponding FileNotFoundError exception to streamline the parse_ontology function.

closes #38

@srmnitc srmnitc merged commit f068bac into main Apr 7, 2025
3 checks passed
@srmnitc srmnitc deleted the parse_iri branch April 7, 2025 09:59
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.

Allow parsing of IRIs without giving explicit file

1 participant