-
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
non-optional field /measurement/isSparsityTransformed
missing when generating mdf
#34
Comments
indeed. can be fixed by using the approach taken here: Line 732 in 9a3bea1
so just use the |
if its not in the dict, then the data is not transformed. |
There are more issues like this. E.g this line Line 768 in 9a3bea1
requires :measData to be set in order to set the non-optional fields isFourierTransformed etc. The same applies to :measIsBGFrame .
I found this while working in #35 but I am not sure, if changing it creates errors downstream, so I will leave it alone and implement a direct version for converting between in-memory and file-based MDFs. |
I don't fully get what you mean. The field You are probably right that I did not think through all edge cases in this code but it is rather pragmatic (and not ideal) but in this particular case I am not sure if that is actually wrong. But in general I absolutely agree that we should go with a more structural way and
|
True, I missed that part. Sorry for that! |
Not sure about implementing |
This field should be part of every mdf we write, since it is non-optional. Currently, it is not.
The text was updated successfully, but these errors were encountered: