You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/src/ontology.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,7 @@ impl OntologyLocation {
185
185
OntologyLocation::File(p) => {
186
186
// Use the Url crate, just like in the Display impl
187
187
let iri = Url::from_file_path(p)
188
-
.expect("Failed to create file URL for IRI")
188
+
.expect("Failed to create file URL for IRI. Try removing .ontoenv folder as it may contain corrupted or improperly formatted file paths. Then recreate the environment.")
withself.assertRaisesRegex(ValueError, "OntoEnv directory not found at:\"./.ontoenv\""):
78
+
withself.assertRaisesRegex(ValueError, "OntoEnv directory not found at \"./.ontoenv\". You must provide a valid path or set recreate=True or temporary=True to create a new OntoEnv."):
0 commit comments