-
Notifications
You must be signed in to change notification settings - Fork 43
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
Replace deepdish #416
Replace deepdish #416
Conversation
Seems to be working for me. let's go ahead and merge. (also not sure why my previous comments aren't showing up to do the same thing). |
Ok @ljchang I did some formal testing about trying to read in h5 files made with the current The reason seems to be that the way the As a result this new PR isn't backwards compatible. How do you want to proceed? A few thoughts:
|
That's a bummer @ejolly . What specifically isn't working? I have tried loading older hdf5 files from the FNL dataset and they seem to be loading okay for me. Though I don't have any .X or .Y attributes stored in them. |
Yea it's primarily the X and Y attributes. We can't load those easily. |
ok, I think that is because they are using pytables to deal with the pandas stuff. I have a couple of thoughts.
|
@ljchang I was able to solve this now and verified it works across different nltools version! The only thing we lose when loading h5 files from older versions of nltools is the column-type data for the I added a test for this and the last thing left to do when I get a chance is add support for legacy |
awesome! nice work! |
Legacy h5 support for Tests are only failing on python 3.7 which is fine because we're deprecating support for that version (and adding up to 3.11) |
Ok @ljchang I took a crack at replacing deepdish for saving and loading
.h5
Brain_Data
andAdjacency
objects, which addresses #415. Feel free to play around with this PR and if nothing too strange is happening we can marge it in!