pseeth / cookiecutter-nussl

Cookiecutter for evaluating algorithms and training models in nussl
MIT License
5 stars 1 forks source link

Unresolved reference to _source_file #4

Open ethman opened 4 years ago

ethman commented 4 years ago

This will crash instead of logging the exception gracefully because this variable is undefined. Is this supposed to be event.source_file?

https://github.com/pseeth/cookiecutter-nussl/blob/737805a8ccdc74d331af4f1172a3a587d01661f7/%7B%7Bcookiecutter.repo_name%7D%7D/src/dataset/scaper_mixer.py#L47

pseeth commented 4 years ago

Oh wow it is. How did that happen! Will fix. On Feb 3, 2020, 4:16 PM -0600, Ethan Manilow notifications@github.com, wrote:

This will crash instead of logging the exception gracefully because this variable is undefined. Is this supposed to be event.source_file? https://github.com/pseeth/cookiecutter-nussl/blob/737805a8ccdc74d331af4f1172a3a587d01661f7/%7B%7Bcookiecutter.repo_name%7D%7D/src/dataset/scaper_mixer.py#L47 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.