Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error logging when a resource can't be parsed back in composite views #4849

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

imsdu
Copy link
Contributor

@imsdu imsdu commented Apr 5, 2024

Fixes #4755

* @return
* boolean True if the two graphs are isomorphic.
*/
def isIsomorphic(other: Graph) =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dead code

Comment on lines +20 to +21
IO.fromEither(Graph(ntriples.copy(rootNode = rootNode))).map { g =>
Some(g.replaceRootNode(rootNode))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these two lines seem to do the same thing - setting the root node of a graph?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaceRootNode seems to do some extra operations

@imsdu imsdu merged commit 5ab5954 into BlueBrain:master Apr 8, 2024
6 checks passed
@imsdu imsdu deleted the 4755-improve-error-logging branch April 8, 2024 11: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.

ConversionError does not lead to a failed elem in composite indexing
2 participants