-
Notifications
You must be signed in to change notification settings - Fork 67
Velcolfix branch (for velocity columns memory uninitialization? in linux version 4.2.1197) #45
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
base: master
Are you sure you want to change the base?
Conversation
…ible bug in EDFAPI lib making velocity columns contain junk data.
… determine if dtypes of returned df are appropriate for their manipulations...
Probably better to wait on what Sam and SR research say, this is a temporary fix at best (although it includes many other updates to the code). |
Sam has said that it is indeed on their end, and they will release a new version. I will get a testing version and start testing. But, we should add a "version" check to our code, and for any version equal to or earlier than the current (buggy) version, we should provide NaNs for the affected columns. Do you have windows environment to test with? I have never used the windows version of EDFAPI, but checking may be recommended... |
Great! Yes I have a windows environment to test (and Ubuntu, but you got that covered) |
OK great. Is the version number of the windows version the same as the Ubuntu version? (that 4.2.11... number?) |
I think the criticial result I found is that the velocity columns are broken anyway I found a version 4.2.762.0 for the edfapi.dll - not entirely sure how to find out the version |
OK so on windows you found some file named 4.2.762.0? Sorry, please clarify -- You found the velocity columns are "broken anyway"? What do you mean? You mean they contain weird values? (this is issue #1). The other issue is that the weird values are not stable across different repetitions for the same EDF file (issue #2). Yea, I think we can wrap the "version" function and see if that gives useful information in our library. And if that is properly updated we can use that. Because there is no way to diagnose if the data is safe based on behavior since it is effectively random values in memory. Honestly probably the safest thing to do is simply blank out affected columns with NANs. That way we guarantee that no one gets "incorrect" data, which to me is worse than no data. In fact it is better to simply not include the columns at all. |
On windows I found the edfapi.dll and in the properties it says that version number 🤷 For me these two issues (broken values and non-repeatable) are the same underlying issue, e.g. the second follows from the first. Sorry for not being clear. I didnt check the repeatedness yet, bit busy unfortunately right this moment. Detecting the version + filling with NaNs + Warning seems best! Not sure I'd remove the columns though, that would be breaking |
This does several things: