stanford-ppl / spatial

Spatial: "Specify Parameterized Accelerators Through Inordinately Abstract Language"
https://spatial.stanford.edu
MIT License
271 stars 33 forks source link

Improved error messages thrown while reading a not existing files_list #202

Closed kumasento closed 5 years ago

kumasento commented 5 years ago

Hello, this is a minor improvement related to issue #201.

Instead of showing NPE when files_list doesn't exist, a FileNotFoundException will be thrown that indicates ./bin/update_resources.sh should be executed beforehand.

mattfel1 commented 5 years ago

Looks good to me. Thanks!