diff --git a/src/stamp/modeling/data.py b/src/stamp/modeling/data.py index c3696c0f..c070c24e 100755 --- a/src/stamp/modeling/data.py +++ b/src/stamp/modeling/data.py @@ -435,7 +435,7 @@ def detect_feature_type(feature_dir: Path) -> str: feature_types = set() files_checked = 0 - for file in feature_dir.glob("*.h5"): + for file in feature_dir.rglob("*.h5"): files_checked += 1 with h5py.File(file, "r") as h5: feat_type = h5.attrs.get("feat_type")