Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions dandi/delete.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
"""Delete assets and dandisets from DANDI Archive.

This module provides functionality for deleting assets and entire dandisets
from DANDI Archive instances. It supports:
- Single and batch asset deletion
- Dandiset deletion with confirmation
- URL-based and path-based deletion
- Skip-missing option for non-existent resources
"""

from __future__ import annotations

from collections.abc import Iterable, Iterator
Expand Down
10 changes: 10 additions & 0 deletions dandi/download.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
"""Download assets from DANDI Archive.

This module provides functionality for downloading files and Zarr archives
from DANDI Archive instances. It supports:
- Individual file downloads with integrity verification
- Zarr archive downloads with parallel entry handling
- Resume capability for interrupted downloads
- Progress tracking and error recovery
"""

from __future__ import annotations

from collections import Counter, deque
Expand Down
11 changes: 11 additions & 0 deletions dandi/move.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
"""Move and rename assets in DANDI Archive.

This module provides functionality for moving and renaming assets both
locally and remotely in DANDI Archive instances. Features include:
- Local file reorganization
- Remote asset path changes
- Combined local and remote moves
- Conflict resolution (skip, overwrite, error)
- Validation of move operations
"""

from __future__ import annotations

from abc import ABC, abstractmethod
Expand Down
11 changes: 9 additions & 2 deletions dandi/organize.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
"""
ATM primarily a sandbox for some functionality for dandi organize
"""Organize and structure NWB files according to DANDI conventions.

This module provides functionality for organizing neuroscience data files
according to DANDI's file organization schema. Features include:
- Automatic path generation from metadata
- BIDS-like subject/session organization
- Metadata-driven file naming
- Validation of organized paths
- Support for videos and generic files
"""

from __future__ import annotations
Expand Down
11 changes: 11 additions & 0 deletions dandi/upload.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
"""Upload assets to DANDI Archive.

This module handles uploading NWB files and other assets to DANDI Archive
instances. Features include:
- Validation of files before upload
- Progress tracking with resume capability
- Metadata extraction and assignment
- BIDS validation integration
- Concurrent uploads with thread pool
"""

from __future__ import annotations

from collections import defaultdict
Expand Down