Skip to content

Commit 60aac01

Browse files
author
Matthew Lyon
authored
Update map_from_csv.py
1 parent 5287370 commit 60aac01

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/map_from_csv.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,11 @@ def map_population(pop):
327327
for it in gid_to_name:
328328
groups.add(gid_to_name[it])
329329
# TODO use service account
330-
add_new_user('opengwas-ci-cd@mr-base.iam.gserviceaccount.com', groups, admin=True)
330+
#add_new_user('opengwas-ci-cd@mr-base.iam.gserviceaccount.com', groups, admin=True)
331+
add_new_user('mlyon@live.co.uk', groups, admin=True)
331332

332333
# set all gwas as QC passed
333334
tx = Neo4j.get_db()
334-
tx.run("MATCH (u:User {uid:\"opengwas-ci-cd@mr-base.iam.gserviceaccount.com\"}) "
335+
tx.run("MATCH (u:User {uid:\"mlyon@live.co.uk\"}) "
335336
"MATCH (g:GwasInfo) WHERE NOT (g)-[:DID_QC]->(:User) "
336337
"CREATE (g)-[:DID_QC {epoch:1549379289.720649, comment:\"historic\", data_passed:True}]->(u)")

0 commit comments

Comments
 (0)