Skip to content

Recursively look for feature files to check type#165

Open
fergascod-idibell wants to merge 1 commit intoKatherLab:mainfrom
fergascod-idibell:fix/rglob-feat-type
Open

Recursively look for feature files to check type#165
fergascod-idibell wants to merge 1 commit intoKatherLab:mainfrom
fergascod-idibell:fix/rglob-feat-type

Conversation

@fergascod-idibell
Copy link

@fergascod-idibell fergascod-idibell commented Mar 23, 2026

Fix

When generating the features of a set of WSIs in a folder with the following structure:

  • wsi_folder
    • patient1
      • pat1_slide1.mrxs
      • pat1_slide2.mrxs
    • patient2
      • pat2_slide1.mrxs

the preprocessing pipeline puts the features in the original folder structure. However, when one tries to run cross validation on a task using those features, the pipeline checks for the feature type by inspecting the root folder only. This throws the error: "No .h5 feature files found in feature_dir.".

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.

1 participant