Skip to content
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

metadata of TsGroup not showing after updating to 0.8.3 from 0.7.1 #408

Open
yfujis opened this issue Feb 1, 2025 · 4 comments
Open

metadata of TsGroup not showing after updating to 0.8.3 from 0.7.1 #408

yfujis opened this issue Feb 1, 2025 · 4 comments

Comments

@yfujis
Copy link

yfujis commented Feb 1, 2025

Hi Pynapple team,

I have spike time data saved as a TsGroup object. After updating to 0.8.3 from 0.7.1. Only "rate" shows up in the metadata and everything else is gone. Is this a known issue? Is there a workaround?

@yfujis yfujis changed the title metadata of TsGroup not showing after updating to 0.8.3 from 0.7.0 metadata of TsGroup not showing after updating to 0.8.3 from 0.7.1 Feb 1, 2025
@gviejo
Copy link
Contributor

gviejo commented Feb 3, 2025

Can you explain how you load your TsGroup? Is it from NWB? From NPZ? From custom data?

@yfujis
Copy link
Author

yfujis commented Feb 3, 2025

It's saved as .npz file and read with

session = nap.load_folder(basepath)
Then,
spikes = session['derivatives']['spikes']

thanks!

@gviejo
Copy link
Contributor

gviejo commented Feb 4, 2025

It is very likely because of the new metadata class. Do you have a npz file you could share?

@yfujis
Copy link
Author

yfujis commented Feb 4, 2025

Thanks! I just slacked you,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants