-
Notifications
You must be signed in to change notification settings - Fork 2
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
Parse regular expression filter before storing to provenance graph #301
Parse regular expression filter before storing to provenance graph #301
Conversation
object to be propperly stored by provenance graph Caleydo/tdp_bi_bioinfodb#1054
@oltionchampari I improved some function and variable names and added more comments. In my tests it works when I applying a regexp filter in the string column, but it does not work when I add another filter in the categorical column.
Please fix this behavior and test it more deeply in combination with other filters and jumping back and forth in the provenance graph. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See previous comment.
Thanks for the feedback and the further optimizations you made! The problem above was that i wasn't checking for null values. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oltionchampari I still get an error when I play around with different filters.
Please test the following provenance graph:
@thinkh Cant reproduce it. Maybe you don't have the latest branch . |
Yes, indeed it works! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Works and looks good.
@oltionchampari Could please try one more time, if the provenance graph with a |
Because stringify is missleading as it does not retrun a string, but an object.
The current solution also works for filter |
Closes #306
Summary
JSON.stringify()
to a RegExp object returns always{}
which resulted in the provenance graph not properly storing the filter value.