diff options
author | Pjotr Prins | 2020-11-06 10:14:21 +0000 |
---|---|---|
committer | Pjotr Prins | 2020-11-06 10:14:21 +0000 |
commit | 039ad90b1627464b687adddb08cf489dca3c5fbc (patch) | |
tree | f20d2aa8227209970293d26b7844045e149c5e56 /scripts | |
parent | d75f1c74fbf86652b02520de6ed46c981cf27e50 (diff) | |
download | bh20-seq-resource-039ad90b1627464b687adddb08cf489dca3c5fbc.tar.gz bh20-seq-resource-039ad90b1627464b687adddb08cf489dca3c5fbc.tar.lz bh20-seq-resource-039ad90b1627464b687adddb08cf489dca3c5fbc.zip |
Using correct wikidata geo link
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/uthsc_samples/uthsc_samples.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/uthsc_samples/uthsc_samples.py b/scripts/uthsc_samples/uthsc_samples.py index 5c39398..c18c07a 100644 --- a/scripts/uthsc_samples/uthsc_samples.py +++ b/scripts/uthsc_samples/uthsc_samples.py @@ -32,13 +32,13 @@ for index, row in table.iterrows(): sample_name = sample collection_date = parse(str(row['Collection Date'])).strftime('%Y-%m-%d') locationx = row['City']+", "+row['State']+", USA" - location = "https://www.wikidata.org/wiki/Q16563" # Memphis by default + location = "http://www.wikidata.org/enitity/Q16563" # Memphis by default map = { - "Pegram": "https://www.wikidata.org/wiki/Q3289517", - "Alexander": "https://www.wikidata.org/wiki/Q79663", - "Smithville": "https://www.wikidata.org/wiki/Q2145339", - "Nashville": "https://www.wikidata.org/wiki/Q23197", - "Madison": "https://www.wikidata.org/wiki/Q494755" + "Pegram": "http://www.wikidata.org/enitity/Q3289517", + "Alexander": "http://www.wikidata.org/enitity/Q79663", + "Smithville": "http://www.wikidata.org/enitity/Q2145339", + "Nashville": "http://www.wikidata.org/enitity/Q23197", + "Madison": "http://www.wikidata.org/enitity/Q494755" } for name in map: |