Skip to content

Commit

Permalink
Update load_data_expanded_access.cypher
Browse files Browse the repository at this point in the history
Changed PubMedID to PaperId to align with rest of the graph
  • Loading branch information
KirstenLangendorf authored Aug 10, 2020
1 parent 59db13b commit 56b4cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataloader/load_data_expanded_access.cypher
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ UNWIND study_metadata.NCTId as Id
match(ct:ClinicalTrial{NCTId:Id})
with ct, study_metadata, RANGE(0,size(study_metadata.ReferencePMID)-1) as nref
FOREACH(i in nref |
MERGE(p:PubMedId{name:study_metadata.ReferencePMID[i]})
MERGE(p:PaperId{id:study_metadata.ReferencePMID[i],type:'pubmed_id'})
MERGE(c:Citation{name:study_metadata.ReferenceCitation[i]})
MERGE(r:ReferenceType{name:study_metadata.ReferenceType[i]})
MERGE(ct)-[:REFERS_TO]->(c)
Expand Down

0 comments on commit 56b4cdd

Please sign in to comment.