nengo / nengo-loihi

Run Nengo models on Intel's Loihi chip
https://www.nengo.ai/nengo-loihi/
Other
35 stars 12 forks source link

Raise warning instead of error for progress bars #187

Closed drasmuss closed 5 years ago

drasmuss commented 5 years ago

The GUI automatically tries to run with progress_bar=True, so raising a warning instead of an error allows the GUI to run successfully.

hunse commented 5 years ago

I just added a match to the warning test, as well. We should really try to use that, particularly when testing for warnings, but even for exceptions, too. Otherwise, any warning will satisfy the check, and we've got a lot of warnings.