nexusformat / features

Work on NeXus features and recipes by the NIAC and friends
0 stars 6 forks source link

Misleading error messages in nxfeature.py #9

Closed matthew-d-jones closed 6 years ago

matthew-d-jones commented 6 years ago

Error messages in nxfeatures.py starting "no features in..." and "no recipes in..." can mislead due to too broad exception catching. The except statement should catch only the appropriate Exception for the corresponding error message.

markbasham commented 6 years ago

I have tried to make this a little more descriptive now, but it can still be usefull to add a main to an individual recipie for debugging purposes.