-
Notifications
You must be signed in to change notification settings - Fork 6
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
HermesData.save functionality #119
Comments
Hi Ken - I'm going to treat this as two mini-issues and will likely generate 2 different PRs for each of the aspects.
|
Hi Aaron, I am ok with splitting them up, but I would still like to discuss each of your suggested implementations. mini-issue 1) I'm not sure we really need this 'not recommended' option for I was confused, because there is ambiguity in the existing code. The Given the design of the By the way, I do see a use case for allowing the instrument software to specify the time stamp (rather than determining it automatically based on the content of the TimeSeries). But that's yet another discussion, and in any case, this should be explicitly set within the For testing, the developer doesn't need to specify a filename, but only a test directory. As I said originally, I recommend renaming mini-issue 2) With these guidelines in mind, I don't see a use case for the |
Our messages crossed. I was writing my comments while you were already working on PR#121. I think we should hold off on PR#121 until we have had a chance to discuss my comments above. |
Hi @kbromund - I just want to go over what we talked about today with this issue so I don't forget or loose track.
Please let me know if I'm missing any details on the first two issues. Thank you again for the great feedback! |
the HermesData.save method has two issues:
output_path is a misnomer. It is actually specifies the output_directory, not the output filename. Should there be a mechanism for explicitly setting the output file name, rather than generating one automatically?
When running in the mode where a pathname is generated automatically,
overwrite=False should increment the Z-version number. e.g. if version 1.0.0 exists, it should create a file with version 1.0.1.
the documentation should make it clear that overwrite=True should only be used in development, not in production. In production, new files should always have new version numbers.
The text was updated successfully, but these errors were encountered: