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

File loading issue #51

Open
ynapetrova opened this issue May 6, 2022 · 6 comments
Open

File loading issue #51

ynapetrova opened this issue May 6, 2022 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@ynapetrova
Copy link

Hello!

Since recently I have been having a problem when trying to load the images from the scanned folder. The plug-in is able to detect the images but not to load them, which then does not allow to continue with spot detection. I am using Chrome as suggested and the plug-in is fully updated, I also tried with Edge but I encounter the same issue. Maybe it is relevant to mention that no error message is appearing, it just says "Loading images. Please wait.." on top, but then nothing happens. I am using a Windows 10 device.
Here is also a console log:
imjoy.io-1651829760467.log

@muellerflorian
Copy link
Member

Hello,

I can reproduce this error. It seems to be caused by the fact that you use a number (561) as the name of the channel, use a (alpha)numeric name (such as fish561) solves the problem for me.

maybe you can give this a try.

I will dig a bit deeper and update the plugin to solve this problem.

@ynapetrova
Copy link
Author

Thank you a lot! This indeed also worked for me.

@muellerflorian
Copy link
Member

@Henley13 this issues seems to be caused by a known problem in Pandas (pandas-dev/pandas#24939), where underscore are added to column names when using the function df.to_dict('records'), as used here

This was fixed in version 0.24.2, so would it be possible to change the requirement to

pandas >= 0.24.2

@muellerflorian
Copy link
Member

good to know that this works now, for the moment, the workaround is using identifiers that also contain letters. with a future upgrade, numbers-only identifiers should work as well.

@muellerflorian muellerflorian added the bug Something isn't working label May 9, 2022
@Henley13
Copy link
Member

@Henley13 this issues seems to be caused by a known problem in Pandas (pandas-dev/pandas#24939), where underscore are added to column names when using the function df.to_dict('records'), as used here

This was fixed in version 0.24.2, so would it be possible to change the requirement to

pandas >= 0.24.2

For the next released version of big-fish yes! Do you have a workaround for now or do you need an urgent patch?

@muellerflorian
Copy link
Member

there is not absolute urgency. the workaround is using a letter in the naming of the channel. so that's doable.

so it can wait for the next release of big-fish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants