Skip to content

ds000248 aws cli download results in extra files #3709

@larsoner

Description

@larsoner

Trying to find a workaround for #3695 by following the download instructions, I just ran:

$ pip install awscli
$ aws s3 sync --no-sign-request s3://openneuro.org/ds000248 ./ds000248 | tee output.txt
$ ls -al ./ds000248/derivatives/freesurfer/subjects
total 24
drwxrwxr-x 6 larsoner larsoner 4096 Jan 13 10:47 .
drwxrwxr-x 4 larsoner larsoner 4096 Jan 13 10:47 ..
drwxrwxr-x 8 larsoner larsoner 4096 Jan 13 10:47 01
drwxrwxr-x 9 larsoner larsoner 4096 Jan 13 10:47 fsaverage
drwxrwxr-x 2 larsoner larsoner 4096 Jan 13 10:48 morph-maps
drwxrwxr-x 9 larsoner larsoner 4096 Jan 13 10:48 sub-01
$ 

Looking at https://openneuro.org/datasets/ds000248/versions/1.2.4 I did not expect to see a derivatives/freesurfer/subjects/01 directory:

Image

I noticed the error because having the 01 subdirectory in addition to the sub-01 subdirectory was problematic for some software I'm using.

It seems like a bug that this is included even though it's not in the latest dataset snapshot, but if this is expected behavior some docs in the download page would be useful (e.g., the wording "The most recently published snapshot can be downloaded from S3" should be adjusted)!

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