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

FujiReader: ensure getCurrentFile is the first element of the used files list #4267

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

sbesson
Copy link
Member

@sbesson sbesson commented Jan 17, 2025

See #4172 for background

@@ -118,7 +118,7 @@ public String[] getSeriesUsedFiles(boolean noPixels) {
if (noPixels) {
return new String[] {infFile};
}
return new String[] {infFile, pixelsFile};
return new String[] {pixelsFile, infFile};
Copy link
Member

Choose a reason for hiding this comment

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

While this causes the test to pass, it looks like it shifts the problem to initializing .inf files:

$ showinf -no-upgrade -nopix TPN_membraneC_1sec.inf
Checking file format [Fuji LAS 3000]
Initializing reader
FujiReader initializing TPN_membraneC_1sec.inf
Initialization took 0.179s

Reading core metadata
filename = TPN_membraneC_1sec.inf
Used files:
	/home/melissa/data/bf-data-repo/automated-tests/curated/fuji/venu/TPN_membraneC_1sec.img
	/home/melissa/data/bf-data-repo/automated-tests/curated/fuji/venu/TPN_membraneC_1sec.inf

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