Skip to content

Conversation

@lschr
Copy link
Contributor

@lschr lschr commented Mar 18, 2023

No description provided.

@lschr
Copy link
Contributor Author

lschr commented Mar 19, 2023

@FirefoxMetzger Could you have a look at this? I think the No-Internet Install check fails due to unrelated problems (it has worked before).

@FirefoxMetzger
Copy link
Contributor

Yes, the test fails, because it exceeds GH's rate limit for pulling images. I have seen it fail sporadically due to a network timeout (rare), but not yet due to rate limiting issues. I'll re-run it and it should dissapear.

@lschr
Copy link
Contributor Author

lschr commented Mar 21, 2023

Thanks! Do you have suggestions concerning the failing codecov checks? Most of the complaints concern reading of metadata not present in the test file. All I can think of would be to patch the header of the test file using a hex editor to test the additional code paths.

@FirefoxMetzger
Copy link
Contributor

I will have to look into the code itself (the current plan is to do it this afternoon) before I can answer your question on coverage @ischr .

If I can find a way to create a test file I will propose it, otherwise we can also continue without having the plugin covered 100%, since the old plugin wasn't fully covered either. I prefer full coverage though, so I want to make that option work if possible.

@lschr lschr force-pushed the spe_v3 branch 2 times, most recently from e4037b0 to 60bee6e Compare March 25, 2023 12:31
This is achieved by selectively patching the test file's header.
@FirefoxMetzger
Copy link
Contributor

Sorry @lschr for the delay on reviewing this PR. I haven't forgotten, but want to have #824 merged before starting work on this. The work here replaces the SPE plugin with a v3 version, which is amazing 🤩 but will make SPE unavailable in v2 until we merge the aforementioned PR. Ideally, I would like this to be backwards compatible, hence the delay.

Copy link
Contributor

@FirefoxMetzger FirefoxMetzger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic work @lschr I really like what you did with the SPE plugin in this PR. Most of my comments are related to docstrings (added quite a few periods . in various places as well as some type indicators to the parameters).

There is only one bigger comment in imread where we could combine the case of reading index=... and index=int. Otherwise the PR is ready to roll :)

Also, sorry for taking so long to get around to reviewing this. Life has been somewhat of a roller coaster these past few weeks, but I'm happy to have found the time today to take a look at this. It's always fun to review clean and well-written code.

Co-authored-by: Sebastian Wallkötter <sebastian@wallkoetter.net>
Copy link
Contributor

@FirefoxMetzger FirefoxMetzger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @lschr ! One final change in the docstrings and then we can merge 🚀

Co-authored-by: Sebastian Wallkötter <sebastian@wallkoetter.net>
@FirefoxMetzger FirefoxMetzger merged commit fdb41fc into imageio:master May 6, 2023
@FirefoxMetzger
Copy link
Contributor

LGTM! Awesome work @ischr ; thanks for upgrading our SPE plugin 🚀

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.

2 participants