Unable to rename Zarr archives using `dandi move`
- Dominant language
- Python
- Stars
- 28
- Forks
- 37
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 9
Description
Command 1 without trailing `/`
```bash
dandi move -i linc sub-MF278/dwi/dtifit_S0.nii.zarr sub-MF278/dwi/sub-MF278_sample-brain_DTI_S0.nii.zarr
```
Error 1
```bash
2025-04-17 23:21:36,625 [ INFO] Fetching list of assets for Dandiset 000003
2025-04-17 23:21:39,404 [ INFO] Logs saved in /homes/10/ayendiki/.local/state/dandi-cli/log/2025.04.18-03.21.36Z-1584854.log
Error: Mismatch between local and remote Dandisets:
- Asset 'derivatives/sub-MF278/dwi/dtifit_S0.nii.zarr' would be moved to 'derivatives/sub-MF278/dwi/sub-MF278_sample-brain_DTI_S0.nii.zarr/dtifit_S0.nii.zarr' locally but to 'derivatives/sub-MF278/dwi/sub-MF278_sample-brain_DTI_S0.nii.zarr' remotely
```
Command 2 with trailing `/`
```bash
dandi move -i linc sub-MF278/dwi/dtifit_S0.nii.zarr/ sub-MF278/dwi/sub-MF278_sample-brain_DTI_S0.nii.zarr/
```
Error 2
```bash
2025-04-17 23:22:49,013 [ INFO] Fetching list of assets for Dandiset 000003
2025-04-17 23:22:51,848 [ INFO] Logs saved in /homes/10/ayendiki/.local/state/dandi-cli/log/2025.04.18-03.22.48Z-1585575.log
Error: Remote path 'sub-MF278/dwi/dtifit_S0.nii.zarr/' is a file
```
cc @aaronkanzer @ayendiki
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.