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

read_histology_profile(template="fslr32k") gives error in h5_file.get(template)[...] #340

Open
iamnielsjanssen opened this issue Feb 24, 2023 · 0 comments

Comments

@iamnielsjanssen
Copy link

The problem is that the h5 file for fslr32k uses a different database name inside the h5 file:

~/brainstat_data/bigbrain_data$ h5ls histology_fslr32k.h5 
fs_LR_64k                Dataset {50, 64984}

In file "histology.py" you add this code to fix

 # added by NIELS
    if template == "fslr32k":
        template = "fs_LR_64k"
        
    with h5py.File(histology_file, "r") as h5_file:
        profiles = h5_file.get(template)[...]
        if civet_template:
----cut----
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

No branches or pull requests

1 participant