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

Base ImageIOReader on FramesSequenceND #320

Merged
merged 10 commits into from
May 5, 2020
Merged

Conversation

rbnvrw
Copy link
Contributor

@rbnvrw rbnvrw commented Mar 11, 2019

Base ImageIOReader on FramesSequenceND
The FramesSequenceND class is more versatile than the FramesSequence class.

pims/imageio_reader.py Outdated Show resolved Hide resolved
pims/base_frames.py Outdated Show resolved Hide resolved
pims/base_frames.py Outdated Show resolved Hide resolved
pims/imageio_reader.py Show resolved Hide resolved
@caspervdw
Copy link
Member

Thanks @rbnvrw for this work, I left some comments but generally I really like the movement towards FramesSequenceND

@rbnvrw
Copy link
Contributor Author

rbnvrw commented Oct 16, 2019

Sorry @caspervdw I lost track of this PR.
I've implemented your changes.
Two of the builds (Python 2.7) on Travis pass, but for the other two (Python 3.6) I get this error:

RemoveError: 'setuptools' is a dependency of conda and cannot be removed from

conda's operating environment.

The command "conda update --yes conda" failed and exited with 1 during .

I guess this has something to do with the build environment config, but I couldn't find the cause.
Do you have any ideas?

@rbnvrw
Copy link
Contributor Author

rbnvrw commented Mar 23, 2020

Hi @caspervdw if you have the time, could you please look at this again? The tests are passing now.

@caspervdw
Copy link
Member

It looks good! Thanks for following up on this

One more general question, do we have to warn users for API changes of the ImageIOReader?

@caspervdw caspervdw self-requested a review March 24, 2020 19:47
@rbnvrw
Copy link
Contributor Author

rbnvrw commented Mar 24, 2020

Hi @caspervdw thanks for looking at this, that is a good point!
What is the 'general practice' for pims? I don't see any changelog or something similar.

Should we put it in the description of the new release on GitHub or is that not visible/discoverable enough?
Or did you have something else in mind?

@nkeim nkeim mentioned this pull request Apr 30, 2020
6 tasks
@nkeim
Copy link
Contributor

nkeim commented May 5, 2020

@rbnvrw As you suggested, please propose a note about this by adding it to #345. Or just post the text here and I can do it. Thanks!

@rbnvrw
Copy link
Contributor Author

rbnvrw commented May 5, 2020

@nkeim thanks, I have added a note to #345. Please check if it is OK and merge this one if you agree.

@nkeim nkeim merged commit d6e4095 into soft-matter:master May 5, 2020
@nkeim
Copy link
Contributor

nkeim commented May 5, 2020

That’s good! Are there any new capabilities or applications this PR makes possible, or is it laying a foundation for the future?

@rbnvrw
Copy link
Contributor Author

rbnvrw commented May 6, 2020

The main thing is that it allows you to do axis bundling, iteration over (multiple) custom axes and setting default coordinates, as described here: https://soft-matter.github.io/pims/v0.4/multidimensional.html

@nkeim
Copy link
Contributor

nkeim commented May 6, 2020

Thanks! I think your release note undersells this enhancement :). I just pushed an edit to #345.

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

Successfully merging this pull request may close these issues.

3 participants