Code Monkey home page Code Monkey logo

Comments (6)

talonchandler avatar talonchandler commented on June 26, 2024 1

I'm flexible...if we're migrating soon then just iohub is fine.

from waveorder.

ziw-liu avatar ziw-liu commented on June 26, 2024

I think the MM metadata (IndexMap) is used to get the correct ordering of the data axes.

AFAIK reader.files is only used to extract metadata that is shared across the dataset (from reader.files[0], which assumes that things like pixel size do not change within the dataset). Although it is possible to re-order based on the time stamp, I cannot see when the arbitrary ordering will become a problem. @talonchandler can you explain the use case where this change have to happen within the reader?

from waveorder.

talonchandler avatar talonchandler commented on June 26, 2024

Thanks Ziwen, this might not be the root issue that I thought it was. I think you're right that reader.files is only used to extract shared metadata across the dataset.

I was trying to debug an ordering issue for a collaborator (they're reporting unexpected input-output ordering from WaveorderReader), and I thought I'd found the issue in reader.files---at the very least it's unexpected that that reader.files has a random order, even if it's not causing a bug.

Let's leave this open for now, and I'll report back after I get a better handle on their dataset.

from waveorder.

talonchandler avatar talonchandler commented on June 26, 2024

The root issue was a misunderstanding between Micromanager's position order and ImageJ's position order. If you drag the folder of ome.tifs into ImageJ, it will open in an order that depends on the file system. But if you drag the folder of ome.tifs into MicroManager, it will open in the "correct" MicroManager order.

WaveorderReader opens in the same order as MicroManager, so it is opening the files in the correct order.

I will still suggest renaming reader.reader.files to reader.reader._files since this added an extra layer of uncertainty to my debugging. What do you think?

from waveorder.

ziw-liu avatar ziw-liu commented on June 26, 2024

I will still suggest renaming reader.reader.files to reader.reader._files

Do you want this change to happen in waveorder.io or iohub (or both)?

from waveorder.

talonchandler avatar talonchandler commented on June 26, 2024

Closing since this is fixed in iohub and we're migrating soon.

from waveorder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.