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

MesoscopePreprocess task errors when exptQC.mat contains empty cell #862

Open
k1o0 opened this issue Oct 11, 2024 · 0 comments
Open

MesoscopePreprocess task errors when exptQC.mat contains empty cell #862

k1o0 opened this issue Oct 11, 2024 · 0 comments

Comments

@k1o0
Copy link
Contributor

k1o0 commented Oct 11, 2024

These mesoscope preprocess tasks are failing because of something to do with the exptQC.mat file. Here's an example of a problem file: /mnt/s0/Data/Subjects/SP058/2024-08-20/001/raw_imaging_data_02/exptQC.mat. For some reason the last element is loaded as an empty array which causes problems.

When loaded in python they look like this:
Normal:
array(['ok', 'PMT off', 'galvos fault', 'high signal'], dtype=object)
Problem file:
array(['ok', 'PMT off', 'galvos fault', 'high signal', array([], dtype='<U1')], dtype=object)

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

1 participant