Skip to content

Incorrect Histology Profile Downloaded (fs_LR_64k instead of fs_LR_32k) #369

@jihoonkim2100

Description

@jihoonkim2100
  • What is the current behavior?
    Downloaded the incorrect histology profile: fs_LR_64k instead of fs_LR_32k.

  • Please provide the steps to reproduce and if possible a minimal demo of the problem.

import h5py
from brainstat.context.histology import download_histology_profiles, read_histology_profile

_ = download_histology_profiles(template='fslr32k')

with h5py.File('histology_fslr32k.h5', 'r') as f:
     for key in f.keys():
         dataset = f[key]
         print(f"key:  {key}, Type:  {type(dataset)}, Shape: {dataset.shape}, Size: {dataset.size}")
Key: fs_LR_64k, Type: <class 'h5py._hl.dataset.Dataset'>, Shape: (50, 64984), Size: 3249200
  • What is the expected behavior?
key:fs_LR_32k, Type: <class 'htpy._hl.dataset.Dataset'>, Shape: (50, 31XXX), Size: 16XXXXX
  • Please tell us about your computing environment:
Python Version: 3.11.11 | packaged by conda-forge | (main, Mar  3 2025, 20:43:55) [GCC 13.3.0]
Python Executable: [/data/u_kimj_software/miniforge3/envs/metric/bin/python](https://file+.vscode-resource.vscode-cdn.net/data/u_kimj_software/miniforge3/envs/metric/bin/python)
Operating System: Linux 6.1.0-32-amd64
Architecture: ('64bit', 'ELF')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions