Closed acevedol closed 1 year ago
Traceback (most recent call last):
File "/home/ubuntu/kg2-code/multi_ont_to_json_kg.py", line 1340, in <module>
delete_ontobio_cachier_caches()
File "/home/ubuntu/kg2-code/multi_ont_to_json_kg.py", line 59, in delete_ontobio_cachier_caches
kg2_util.purge("~/.cachier", ".ontobio*")
File "/home/ubuntu/RTX-KG2/kg2_util.py", line 334, in purge
for f in os.listdir(exp_dir):
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/.cachier'
Traceback (most recent call last):
File "/home/ubuntu/kg2-code/multi_ont_to_json_kg.py", line 1364, in <module>
save_pickle)
File "/home/ubuntu/kg2-code/multi_ont_to_json_kg.py", line 143, in make_kg2
save_pickle)
File "/home/ubuntu/kg2-code/multi_ont_to_json_kg.py", line 67, in load_ont_file_return_ontology_and_metadata
ontology = kg2_util.make_ontology_from_local_file(file_name, save_pickle=save_pickle)
File "/home/ubuntu/RTX-KG2/kg2_util.py", line 802, in make_ontology_from_local_file
check=True)
File "/usr/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['owltools', 'foodon.owl', '-o', '-f', 'json', '/tmp/kg2-vn_ibfzz.json']' returned non-zero exit status 1.
Downloaded foodon-0.5.1 https://github.com/FoodOntology/foodon/archive/refs/tags/v0.5.1.tar.gz
and extracted foodon.owl. Temporarily setting foodon to "do not download" in ont inventory list.
Reading ontology JSON file: umls-mth.json; size: 305367.34 KiB
file: umls-mth.ttl; last modified: 2022-09-09 19:59:34 GMT
Traceback (most recent call last):
File "/home/ubuntu/kg2-code/multi_ont_to_json_kg.py", line 1367, in <module>
save_pickle)
File "/home/ubuntu/kg2-code/multi_ont_to_json_kg.py", line 134, in make_kg2
if ont_source_info_dict['download']:
TypeError: 'NoneType' object is not subscriptable