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

How to read the data? #2

Open
vron8632 opened this issue Sep 25, 2023 · 4 comments
Open

How to read the data? #2

vron8632 opened this issue Sep 25, 2023 · 4 comments

Comments

@vron8632
Copy link

vron8632 commented Sep 25, 2023

Thanks for your share the data in https://drive.google.com/open?id=1o6c2Ofy3dHwvJnU83Y8cruYOL-c77t4g
but when I read the data using the code below, there is a error: KeyError: 'Axes'.
I have tried many version of pycromanager such as 0.2.0 to 0.27.0.

"""
from pycromanager import Dataset

dataset_dir = '/Users/henrypinkard/tmp/experiment_1_65'
dataset = Dataset(dataset_dir)
data = dataset.as_array()
print(dataset.axes.keys())

"""

I want to turn the 53 files in .tif to image data in numpy, looking forward to your answer.

@henrypinkard
Copy link
Member

Its been a while, but It may be that you need to use pygellan (the precursor to pycromanager). you can pip install pygellan

@vron8632
Copy link
Author

Its been a while, but It may be that you need to use pygellan (the precursor to pycromanager). you can pip install pygellan

Thanks. Where does the code need to be changed ?

@henrypinkard
Copy link
Member

whereever it says pycromanager instead use pygellan

@henrypinkard
Copy link
Member

This may be wrong though...Im not sure I remember beyond whats in the code

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