-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove default binning in Buffy
#857
Comments
What do you suggest we do with that? Return |
I believe now all nexus files contain the binning, right? If so I would raise an exception if the values are not found. |
I don't know if that's what you mean, but could we simply remove
|
I see that in the current version of the function, if no binnings are found in any of the files, the default values are returned. If we want to change that (sensible), we have to modify the test that deals with empty tables ( |
This line is extremely dangerous as it uses a default value that the user surely is not aware of and probably doesn't understand. This has caused troubles in the past. I believe it doesn't cause them anymore, but it's better to be safe than sorry.
IC/invisible_cities/cities/buffy.py
Line 165 in 86e39c4
The text was updated successfully, but these errors were encountered: