8000 How to get nipy testdata for network-sandboxed testing · Issue #561 · nipy/nipy · GitHub
[go: up one dir, main page]

Skip to content

How to get nipy testdata for network-sandboxed testing #561

Open

Description

@TheChymera

Currently sandboxed tests fail because of missing data: https://ppb.chymera.eu/d39f86.html

I found a guide for getting nipy data, but I don't seem to get the required files.
E.g. /var/tmp/portage/sci-libs/nipy-0.6.0/homedir/.nipy/tests/data/group_t_images.tar.gz is not in:

[deco]/tmp ❱ tree nipy-templates-0.2/templates/
nipy-templates-0.2/templates/
├── colin27
│   └── 2mm
│       └── T1.nii.gz
├── config.ini
└── ICBM152
    ├── 1mm
    │   └── T1_brain.nii.gz
    └── 2mm
        └── T1.nii.gz

6 directories, 4 files
[deco]/tmp ❱ tree nipy-data-0.3/data/
nipy-data-0.3/data/
├── config.ini
├── fiac
│   └── fiac0
│       ├── mask.nii.gz
│       ├── run1_design.npz
│       ├── run1.nii.gz
│       ├── run2_design.npz
│       └── run2.nii.gz
└── neurospin
    ├── language_babies
    │   └── offset_002.npz
    └── sulcal2000
        ├── nobias_ammon.nii.gz
        └── nobias_anubis.nii.gz

6 directories, 9 files

Activity

  1. matthew-brett commented on Feb 20, 2024

    @matthew-brett
    Member

    We need to update those instructions, but a) the package versions have been updated to 0.3, and b) you need the nipy-data package for that particular file. As in:

    curl -OL http://nipy.org/data-packages/nipy-data-0.3.tar.gz
    curl -OL http://nipy.org/data-packages/nipy-templates-0.3.tar.gz
    
  2. TheChymera commented on Feb 20, 2024

    @TheChymera
    ContributorAuthor

    @matthew-brett the nipy-data I have is already 0.3, as seen in the code above. Do I have the wrong 0.3 archive, or is there a different archive I need for e.g. group_t_images.tar.gz?

  3. matthew-brett commented on Feb 27, 2024

    @matthew-brett
    Member

    Oops - so sorry - I should have read more carefully. Some of the examples are broken, because the FTP site with the relevant data went down : ftp://ftp.cea.fr/pub/dsv/madic/download/nipy - see examples/labs/need_data/get_data_light.py. I'm afraid I have no way of getting those images now. So we're going to have to orphan those tests.

  4. TheChymera commented on Feb 27, 2024

    @TheChymera
    ContributorAuthor

    Is the data permanently lost, or is this something you might come across again at an indeterminate moment in the future?

    I'm sure somebody must have it locally from some old tests they ran if it's been the same data for a long time.ä
    If not, do you remember how it was generated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0