Skip to content

Conversation

@stellaprins
Copy link
Contributor

@stellaprins stellaprins commented Nov 1, 2025

Why is this PR needed
After following the setup instructions, napari crashed with the following error when I tried to open Plate1-Blue-A-12-Scene-3-P3-F2-03.czi.

13:43:06 : WARNING : MainThread : Attempted file (C:/Users/prins/Downloads/Plate1-Blue-A-12-Scene-3-P3-F2-03.czi) load with reader: <class 'bioio_bioformats.reader.Reader'> failed with error: bioformats  does not support the image: 'C:/Users/prins/Downloads/Plate1-Blue-A-12-Scene-3-P3-F2-03.czi'. Can't find org.jpype.jar support library

Kimberly and I did some trouble shooting, and could fix the issue.

@K-Meech

This dependency is coming from the bioio-bioformats reader (which is automatically installed by napari-bioio-reader). Specifically, it's a dependency of Scyjava that sets up the required java / maven dependencies.
Looks like there are some similar reports there, of it not working on particular windows systems.

We should probably add something about this to the installation instructions. An easier solution might be uninstalling bioio-bioformats as we don't use it.

I'd suggest putting it as an optional note in the check napari opens a czi image section (as it only appears to affect some windows systems and not others). Ideally we can keep bioio-bioformats for most people - as it supports the widest range of file formats!
What do you think? You could add something like, if you see X error..., then run...

What does this PR do
Adds a warning box with description of the potential issue and the fix to Check napari opens a czi image section.

See Potential error section
image

@github-actions
Copy link

github-actions bot commented Nov 1, 2025

Thank you!

Thank you for your pull request 😃

🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

  • 🎯 correct output
  • 🖼️ correct figures
  • ❓ new warnings
  • ‼️ new errors

Rendered Changes

🔍 Inspect the changes: https://github.com/HealthBioscienceIDEAS/microscopy-novice/compare/md-outputs..md-outputs-PR-92

The following changes were observed in the rendered markdown documents:

 md5sum.txt |  2 +-
 setup.md   | 17 +++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)
What does this mean?

If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.

This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

⏱️ Updated at 2025-11-04 13:48:02 +0000

github-actions bot pushed a commit that referenced this pull request Nov 1, 2025
@stellaprins
Copy link
Contributor Author

I've tried to build the lesson locally to see whether things are displayed properly before opening my PR for review, but was unable to do this using these instructions. @K-Meech anything obvious I am doing wrong? Will troubleshoot more later :)

> remotes::install_github("HealthBioscienceIDEAS/sandpaper", dependencies = TRUE)
Using GitHub PAT from the git credential store.
Error: Failed to install 'unknown package' from GitHub:
  HTTP error 404.
  Not Found

  Did you spell the repo owner (`HealthBioscienceIDEAS`) and repo name (`sandpaper`) correctly?
  - If spelling is correct, check that you have the required permissions to access the repo.

@K-Meech
Copy link
Contributor

K-Meech commented Nov 3, 2025

Thanks @stellaprins - yes I recently noticed these instructions are out of date! See #91

Could you try it like this instead?:

remotes::install_github("HealthBioscienceIDEAS/varnish", dependencies = TRUE)

(we have a varnish fork, but the sandpaper one doesn't exist anymore - hence the error 😅 )

@stellaprins
Copy link
Contributor Author

Ah yes, I actually removed that link earlier. Thanks @K-Meech! Will try this later.

github-actions bot pushed a commit that referenced this pull request Nov 3, 2025
@stellaprins stellaprins marked this pull request as ready for review November 3, 2025 18:06
Copy link
Contributor

@K-Meech K-Meech left a comment

Choose a reason for hiding this comment

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

Thanks @stellaprins ! I put a couple of minor comments below:

Co-authored-by: Kimberly Meechan <[email protected]>
github-actions bot pushed a commit that referenced this pull request Nov 4, 2025
@stellaprins stellaprins requested a review from K-Meech November 4, 2025 13:45
github-actions bot pushed a commit that referenced this pull request Nov 4, 2025
Copy link
Contributor

@K-Meech K-Meech left a comment

Choose a reason for hiding this comment

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

Thanks @stellaprins - looks good!

@K-Meech K-Meech merged commit 4a36c66 into HealthBioscienceIDEAS:main Nov 4, 2025
4 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 4, 2025
Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request #92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit that referenced this pull request Nov 4, 2025
Auto-generated via `{sandpaper}`
Source  : f2db82b
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-04 14:08:02 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request #92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Nov 10, 2025
Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Nov 10, 2025
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit that referenced this pull request Nov 11, 2025
Auto-generated via `{sandpaper}`
Source  : f2db82b
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-04 14:08:02 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request #92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Nov 11, 2025
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit that referenced this pull request Nov 18, 2025
Auto-generated via `{sandpaper}`
Source  : f2db82b
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-04 14:08:02 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request #92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Nov 18, 2025
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Nov 25, 2025
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Dec 2, 2025
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Dec 9, 2025
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Dec 16, 2025
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Dec 23, 2025
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Dec 30, 2025
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Jan 6, 2026
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Jan 20, 2026
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
github-actions bot pushed a commit to stellaprins/microscopy-novice that referenced this pull request Jan 27, 2026
Auto-generated via `{sandpaper}`
Source  : 034d1bf
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-11-10 10:26:00 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4a36c66
Branch  : main
Author  : Kimberly Meechan <[email protected]>
Time    : 2025-11-04 14:07:10 +0000
Message : Merge pull request HealthBioscienceIDEAS#92 from stellaprins/sp/setup_instructions

add note about possible error and fix for problems opening czi images
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