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
I want to generate a new report using my own data. The project P0000001 report already exists, so I want to generate it again first, and set 'force = True', but an error occurred, like this: This problem has bothered me for a long time. I hope someone can help me solve this problem, thanks !!!
The text was updated successfully, but these errors were encountered:
After debugging for long time, I found the problem.
in ckg/graphdb_connector/connector.py
def run_query(query, parameters={}):
driver = getGraphDatabaseConnectionConfiguration(configuration=None, database=None)
data = getCursorData(driver, query, parameters=parameters)
return data
this query is : MATCH p=(project:Project)-[:HAS_ENROLLED]->(:Subject)-[:BELONGS_TO_SUBJECT]-(:Biological_sample)-[:SPLITTED_INTO]->(a:Analytical_sample)-[r:HAS_QUANTIFIED_PROTEIN]->(protein:Protein) WHERE project.id="P0000001" AND toBoolean(r.is_razor) RETURN a.external_id AS name, a.external_id AS x,COUNT(DISTINCT(protein.id)) AS y, a.group AS group ORDER BY group;
I use this cypher in neo4j, and the result is none. Next, I click 'project' node to find 'P0000001', then find the problem is 'HAS_QUANTIFIED_PROTEIN' relationship disappeared!
Before I uploaded data to the project p0000001 on ckgapp , which may destroy the relationships in the database.
So I reimported the neo4j dump file for verification, and it succeeded.
This platform is very comprehensive and perfect!Thank you for your open source code, which is worth learning!
I want to generate a new report using my own data. The project P0000001 report already exists, so I want to generate it again first, and set 'force = True', but an error occurred, like this:
This problem has bothered me for a long time. I hope someone can help me solve this problem, thanks !!!
The text was updated successfully, but these errors were encountered: