-
-
Notifications
You must be signed in to change notification settings - Fork 423
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
[TEP014] Update Runner and Spectrum classes to use HDFWriter + Unit Tests #748
Conversation
Don`t review it yet. Will update after PR #747 is merged. |
49b2f92
to
c8c9555
Compare
@wkerzendorf Please review. |
def to_hdf_buffer(hdf_file_path,spectrum): | ||
spectrum.to_hdf(hdf_file_path, name='spectrum') | ||
|
||
spectrum_attrs = ['_frequency', 'luminosity'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should use TARDISSpectrum.hdf_properties
here. That way we don't have to update the tests if we change the hdf_properties
.
Overall this looks very good. However you have old commits in there which use |
No description provided.