monarch-initiative / koza

Data transformation framework for LinkML data models
https://koza.monarchinitiative.org/
BSD 3-Clause "New" or "Revised" License
47 stars 4 forks source link

Produce friendlier error from csv_reader on missing column #110

Closed caufieldjh closed 1 year ago

caufieldjh commented 1 year ago

If a transform's input contains a column not specified in the config, it raises an error through csv_reader:

2023-08-03_14:30:57 | WARNING  | koza.io.reader.csv_reader | 'meta'

Example: https://github.com/Knowledge-Graph-Hub/kg-phenio/issues/110

This error doesn't state what the issue is but that would be nice to know. It also seems to appear once for every row in the input (i.e., many times).

glass-ships commented 1 year ago

hey, sorry this got shoved to the wayside in lieu of focusing on the UI release i think i got this taken care of in #109 would you be willing to checkout develop and see if i got the right spot?