Get a file with invalid filename (extension missing):
$ datalad clone git@github.com:datalad-datasets/human-connectome-project-openaccess.git hcp
$ cd hcp
$ datalad -f json_pp get HCP1200/705341/MNINonLinear/Results/rfMRI_REST1_LR/rfMRI_REST1_LR_hp2000_clean.nii
# and again when the subdatasets are present
$ datalad -f json_pp get HCP1200/705341/MNINonLinear/Results/rfMRI_REST1_LR/rfMRI_REST1_LR_hp2000_clean.nii
{
"action": "get",
"message": "path does not exist",
"path": "/tmp/hcp/HCP1200/705341/MNINonLinear/Results/rfMRI_REST1_LR/rfMRI_REST1_LR_hp2000_clean.nii",
"refds": null,
"status": "impossible"
}
{
"action": "get",
"message": "path does not exist",
"path": "/tmp/hcp/HCP1200/705341/MNINonLinear/Results/rfMRI_REST1_LR/rfMRI_REST1_LR_hp2000_clean.nii",
"refds": null,
"status": "impossible"
}
Unclear why a second attempt is made, when first attempt finds "path does not exist".
Get a file with invalid filename (extension missing):
Unclear why a second attempt is made, when first attempt finds "path does not exist".