mobie / mobie-viewer-fiji

BSD 2-Clause "Simplified" License
30 stars 12 forks source link

Opening openOrganelle dataset from github via MoBIE does not work #366

Closed constantinpape closed 3 years ago

constantinpape commented 3 years ago

Opening https://github.com/mobie/open-organelle-test via mobie does not work. When trying to open the dataset I get the following error:

Screenshot from 2021-07-21 20-50-23

To reproduce:

cc @KateMoreva @tischi

KateMoreva commented 3 years ago

Opening https://github.com/mobie/open-organelle-test via mobie does not work. When trying to open the dataset I get the following error:

Screenshot from 2021-07-21 20-50-23

To reproduce:

cc @KateMoreva @tischi

@constantinpape, I think the problem is, that we do not have a dynamic file format chooser yet. You can open this dataset using:

public class OpenOpenOrganell
{
    public static void main( String[] args )
    {
        final ImageJ imageJ = new ImageJ();
        imageJ.ui().showUI();
        try {
            new MoBIE("https://github.com/mobie/open-organelle-test",
                    MoBIESettings.settings().imageDataFormat( ImageDataFormat.OpenOrganelleS3) );
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
constantinpape commented 3 years ago

Thanks for checking @KateMoreva; I will wait till @tischi has implemented dynamic file choosing and pushed it to the new release then and check again. (@tischi I would like to send this to John and the other Janelians then to demonstrate opening open-organelle in MoBIE)

tischi commented 3 years ago

I have updated MoBIE-beta.

constantinpape commented 3 years ago

Screenshot from 2021-07-22 11-51-25

Works now! I will add some more things to the example project and send around an update mail about it later.

tischi commented 3 years ago

Before sending it around to "all" Janelians maybe let's first optimize things in a smaller circle (us and John)?

constantinpape commented 3 years ago

Before sending it around to "all" Janelians maybe let's first optimize things in a smaller circle (us and John)?

Ok, I will show you the example later then we can see how to continue.