Closed matentzn closed 2 years ago
@cmungall When running linkml-convert -t rdf -s babelon.yaml -C Profile -S translations parsed_data_sample.csv, it gives a ValueError: subject_id must be supplied.
(babelon) ➜ linkml_csv_loader_test git:(linkml_csv_loader_test_issue) ✗ linkml-convert -t rdf -s babelon.yaml -C Profile -S translations parsed_data_sample.csv
Loading from parsed_data_sample.csv
Traceback (most recent call last):
File "/Users/victoria/.local/share/virtualenvs/babelon-4LG39QZp/bin/linkml-convert", line 8, in
Can you provide a link to the input csv?
I've created a branch #12 that contains the input csv and schema for testing.
Excellent.
Hey @victoriasoesanto , I ran this locally and it works if you first convert the csv
into tsv
. Not sure if this is a bug but that will get you past this error. Hope this helps!
@hrshdhgd That works! Thank you so much. @cmungall would this be a bug?
Yes you can go ahead and make separate issues:
I'll close this one as it looks like you have it working
Thank you @cmungall .
https://github.com/linkml/linkml-runtime/blob/main/linkml_runtime/loaders/csv_loader.py