diff options
author | Pjotr Prins | 2020-04-10 12:09:57 -0500 |
---|---|---|
committer | Pjotr Prins | 2020-04-10 12:09:57 -0500 |
commit | 686bb7e2b3e3bdb326553f2094a07d4f987e303b (patch) | |
tree | 1c26e7ac5c393f698f4813f936d7fd2917ed8c30 /scripts/update_virtuoso | |
parent | 9b7fbc52ae229d72e75de9f433eea00ce37ba70a (diff) | |
download | bh20-seq-resource-686bb7e2b3e3bdb326553f2094a07d4f987e303b.tar.gz bh20-seq-resource-686bb7e2b3e3bdb326553f2094a07d4f987e303b.tar.lz bh20-seq-resource-686bb7e2b3e3bdb326553f2094a07d4f987e303b.zip |
This fixed
{'type': 'string?', 'jsonldPredicate': {'_id': 'http://purl.obolibrary.org/obo/UO_0000036'}}
{'type': 'string?', 'jsonldPredicate': 'http://purl.obolibrary.org/obo/NCIT_C25688'}
Traceback (most recent call last):
(...)
File "/export/iwrk/opensource/code/vg/bh20-seq-resource/bh20simplewebuploader/main.py", line 106, in walk_fields
for item in walk_fields(field_type, parent_keys + [field_name], subtree_optional or optional):
File "/export/iwrk/opensource/code/vg/bh20-seq-resource/bh20simplewebuploader/main.py", line 92, in walk_fields
ref_url = field_type.get('jsonldPredicate', {}).get('_id', None)
AttributeError: 'str' object has no attribute 'get'
Diffstat (limited to 'scripts/update_virtuoso')
0 files changed, 0 insertions, 0 deletions