Skip to content

Commit

Permalink
Fix cache misses in meta prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
HippocampusGirl committed Nov 17, 2024
1 parent c70225f commit 6385487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gwas/src/gwas/meta/resolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def create_index(
index_jobs: list[IndexJob] = list()
for study_name, study_path_str in tqdm(ia.studies, unit="studies"):
study_path = UPath(study_path_str)
metadata_paths = list(study_path.rglob("chr1.metadata.yaml.gz"))
metadata_paths = sorted(study_path.rglob("*/chr1.metadata.yaml.gz"))
if len(metadata_paths) == 0:
logger.warning(
f'No metadata files found in "{study_path}". Skipping "{study_name}"'
Expand Down

0 comments on commit 6385487

Please sign in to comment.