Skip to content

Commit

Permalink
Update map_from_csv.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Lyon authored Sep 27, 2021
1 parent 5287370 commit 60aac01
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/map_from_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,11 @@ def map_population(pop):
for it in gid_to_name:
groups.add(gid_to_name[it])
# TODO use service account
add_new_user('[email protected]', groups, admin=True)
#add_new_user('[email protected]', groups, admin=True)
add_new_user('[email protected]', groups, admin=True)

# set all gwas as QC passed
tx = Neo4j.get_db()
tx.run("MATCH (u:User {uid:\"[email protected]\"}) "
tx.run("MATCH (u:User {uid:\"[email protected]\"}) "
"MATCH (g:GwasInfo) WHERE NOT (g)-[:DID_QC]->(:User) "
"CREATE (g)-[:DID_QC {epoch:1549379289.720649, comment:\"historic\", data_passed:True}]->(u)")

0 comments on commit 60aac01

Please sign in to comment.