-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix the neo4j cypher warnings #971
Comments
To clarify, did you just want to turn off these warnings? I looked into what appears when running the cat-grep-tar workflow. They seem to be due to queries concerning hints or requirements when these don't exist in the workflow: BEE/beeflow/common/gdb/neo4j_cypher.py Line 272 in 4296dac
BEE/beeflow/common/gdb/neo4j_cypher.py Line 284 in 4296dac
We could turn off warnings for the category UNRECOGNIZED. I also saw a warning about deprecated syntax, which could just be changed: Received notification from DBMS server: {severity: WARNING} {code: Neo.ClientNotification.Statement.FeatureDeprecationWarning} {category: DEPRECATION} {title: This feature is deprecated and will be removed in future versions.} {description: The semantics of using colon in the separation of alternative relationship types will change in a future version. (Please use ':DEPENDS_ON|RESTARTED_FROM' instead)} {position: line: 1, column: 92, offset: 91} for query: "MATCH (m:Metadata)-[:DESCRIBES]->(t:Task {workflow_id: $wf_id}) WHERE NOT (t)<-[:DEPENDS_ON|:RESTARTED_FROM]-(:Task) AND m.state <> 'COMPLETED' RETURN t IS NOT NULL LIMIT 1" BEE/beeflow/common/gdb/neo4j_cypher.py Line 704 in 4296dac
BEE/beeflow/common/gdb/neo4j_cypher.py Line 723 in 4296dac
|
Git rid of these:
Received notification from DBMS server: {severity: WARNING} {code: Neo.ClientNotification.Statement.UnknownLabelWarning} {category: UNRECOGNIZED} {title: The provided label is not in the database.} {description: One of the labels in your query is not available in the database, make sure you didn't misspell it or that the label is available when you run this statement in your application (the missing label name is: Hint)} {position: line: 1, column: 45, offset: 44} for query: 'MATCH (:Task {id: $task_id})<-[:HINT_OF]-(h:Hint) RETURN h'
Received notification from DBMS server: {severity: WARNING} {code: Neo.ClientNotification.Statement.UnknownRelationshipTypeWarning} {category: UNRECOGNIZED} {title: The provided relationship type is not in the database.} {description: One of the relationship types in your query is not available in the database, make sure you didn't misspell it or that the label is available when you run this statement in your application (the missing relationship type is: REQUIREMENT_OF)} {position: line: 1, column: 33, offset: 32} for query: 'MATCH (:Task {id: $task_id})<-[:REQUIREMENT_OF]-(r:Requirement) RETURN r'
The text was updated successfully, but these errors were encountered: