-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matthew Lyon
authored
Sep 27, 2021
1 parent
5287370
commit 60aac01
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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)") |