Knowledge-Graph-Hub / neat-ml

Network Embedding All the Things
BSD 3-Clause "New" or "Revised" License
18 stars 1 forks source link

Fail gracefully when provided node/edge path/URL that isn't node or edge #50

Open caufieldjh opened 2 years ago

caufieldjh commented 2 years ago

Providing NEAT with a config file where node and/or edge do not resolve to a TSV currently throws a ValueError (i.e., if it's a tar.gz). This could be more informative to the user. Would be especially nice to have a quick check to verify expected filetype and throw a warning if it isn't in ['tsv','tar.gz'], etc