-
Notifications
You must be signed in to change notification settings - Fork 2
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
Should force_overwrite default to true? #161
Comments
A counter argument: if it defaults to True, there is the potential for accidental data loss due to overwriting. I had assumed False was the default as a safety precaution. |
the same argument goes in the other direction. without overwriting, you're losing the new result, and retaining the old one. So your safety precaution doesn't make sense, unless you prioritize old results over new ones. In the past, I recorded them all. This is the core issue raised here: databio/pypiper#209 |
I flipped force_overwrite to default to True. I will do the same in PyPiper. However, we will still need to allow pipestat to offer the ability for history of results:
|
Right now,
report
has aforce_override
parameter, which defaults toFalse
.pipestat/pipestat/backends/abstract.py
Lines 150 to 157 in 3d150f7
For me, it seems more natural that if I
report()
something, I would want it to replace whatever I had there most of the time. So, I think I would prefer if it defaults toTrue
. (and maybe is renamed).Open for discussion...
The text was updated successfully, but these errors were encountered: