Skip to content

Trouble accessing tpl-MNI152Lin_desc-SPM12_res-02_epi.nii.gz #5

@psadil

Description

@psadil

I'm having some trouble accessing the reference image. Trying to navigate to it on the templateflow browser leads to the following error

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>tpl-MNI152Lin/tpl-MNI152Lin_desc-SPM12_res-02_epi.nii.gz</Key>
<RequestId>SG2SEX8DF9C6P5GZ</RequestId>
<HostId>UrA6h11ztaEgWAWFaxJrVVp7hZlFnyxCI/FQlUOqK78Fd10qOlDa5RqTg1WBawhScz5gw939bp0=</HostId>
</Error>

I can clone the repo and git annex get the file, but the resulting image is filled with zeros

$ git clone https://github.com/templateflow/tpl-MNI152Lin.git
Cloning into 'tpl-MNI152Lin'...
remote: Enumerating objects: 2593, done.
remote: Counting objects: 100% (2333/2333), done.
remote: Compressing objects: 100% (894/894), done.
remote: Total 2593 (delta 1115), reused 2156 (delta 1002), pack-reused 260
Receiving objects: 100% (2593/2593), 1.44 MiB | 15.89 MiB/s, done.
Resolving deltas: 100% (1156/1156), done.

$ cd tpl-MNI152Lin 
$ git annex get tpl-MNI152Lin_desc-SPM12_res-02_epi.nii.gz

  Remote origin not usable by git-annex; setting annex-ignore

  https://github.com/templateflow/tpl-MNI152Lin.git/config download failed: Not Found
get tpl-MNI152Lin_desc-SPM12_res-02_epi.nii.gz (from gin-src...) 
ok                                
(recording state in git...)

# looks like I got a file!                                     
$ git annex whereis tpl-MNI152Lin_desc-SPM12_res-02_epi.nii.gz
whereis tpl-MNI152Lin_desc-SPM12_res-02_epi.nii.gz (4 copies) 
  	1f4389ba-38f1-469b-855e-3f4245f102df -- [gin-src]
   	85d65484-3db9-4f69-bfdc-1d0537e00915 -- oesteban@dendrite:~/tmp/tpl-MNI152Lin
   	8ae486ea-120f-4e32-a738-f4eb24755854 -- psadil@psadil-mb.lan:~/git/neuro/tpl-MNI152Lin [here]
   	b581af9b-6aa8-414f-86d0-bab992b4f5ab -- oesteban@oscars-MacBook-Pro.local:~/tmp/templateflow/tpl-MNI152Lin
ok

# but there are only zeros?
$ fslstats tpl-MNI152Lin_desc-SPM12_res-02_epi.nii.gz -V
0 0.000000 
$ fslstats tpl-MNI152Lin_desc-SPM12_res-02_epi.nii.gz -R
0.000000 0.000000 

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