Skip to content

Commit

Permalink
Merge pull request #105 from Mystou/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
andrawaag authored Jan 20, 2020
2 parents 12d6277 + 9075c49 commit 619bbe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ An enhanced example of the previous bot just puts two of the three things into a
for entrez_id, ensembl in raw_data.items():
# data type object
entrez_gene_id = wdi_core.WDString(value=entrez_id, prop_nr='P351')
ensembl_transcript_id = wdi_core.WDString(value='entrez_id_string', prop_nr='P704')
ensembl_transcript_id = wdi_core.WDString(value=ensembl, prop_nr='P704')

# data goes into a list, because many data objects can be provided to
data = [entrez_gene_id, ensembl_transcript_id]
Expand Down Expand Up @@ -280,7 +280,7 @@ The full example:
for entrez_id, ensembl in raw_data.items():
# data type object
entrez_gene_id = wdi_core.WDString(value=entrez_id, prop_nr='P351')
ensembl_transcript_id = wdi_core.WDString(value='entrez_id_string', prop_nr='P704')
ensembl_transcript_id = wdi_core.WDString(value=ensembl, prop_nr='P704')

# data goes into a list, because many data objects can be provided to
data = [entrez_gene_id, ensembl_transcript_id]
Expand Down

0 comments on commit 619bbe4

Please sign in to comment.