File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ """Delete assets and dandisets from DANDI Archive.
2+
3+ This module provides functionality for deleting assets and entire dandisets
4+ from DANDI Archive instances. It supports:
5+ - Single and batch asset deletion
6+ - Dandiset deletion with confirmation
7+ - URL-based and path-based deletion
8+ - Skip-missing option for non-existent resources
9+ """
10+
111from __future__ import annotations
212
313from collections .abc import Iterable , Iterator
Original file line number Diff line number Diff line change 1+ """Download assets from DANDI Archive.
2+
3+ This module provides functionality for downloading files and Zarr archives
4+ from DANDI Archive instances. It supports:
5+ - Individual file downloads with integrity verification
6+ - Zarr archive downloads with parallel entry handling
7+ - Resume capability for interrupted downloads
8+ - Progress tracking and error recovery
9+ """
10+
111from __future__ import annotations
212
313from collections import Counter , deque
Original file line number Diff line number Diff line change 1+ """Move and rename assets in DANDI Archive.
2+
3+ This module provides functionality for moving and renaming assets both
4+ locally and remotely in DANDI Archive instances. Features include:
5+ - Local file reorganization
6+ - Remote asset path changes
7+ - Combined local and remote moves
8+ - Conflict resolution (skip, overwrite, error)
9+ - Validation of move operations
10+ """
11+
112from __future__ import annotations
213
314from abc import ABC , abstractmethod
Original file line number Diff line number Diff line change 1- """
2- ATM primarily a sandbox for some functionality for dandi organize
1+ """Organize and structure NWB files according to DANDI conventions.
2+
3+ This module provides functionality for organizing neuroscience data files
4+ according to DANDI's file organization schema. Features include:
5+ - Automatic path generation from metadata
6+ - BIDS-like subject/session organization
7+ - Metadata-driven file naming
8+ - Validation of organized paths
9+ - Support for videos and generic files
310"""
411
512from __future__ import annotations
Original file line number Diff line number Diff line change 1+ """Upload assets to DANDI Archive.
2+
3+ This module handles uploading NWB files and other assets to DANDI Archive
4+ instances. Features include:
5+ - Validation of files before upload
6+ - Progress tracking with resume capability
7+ - Metadata extraction and assignment
8+ - BIDS validation integration
9+ - Concurrent uploads with thread pool
10+ """
11+
112from __future__ import annotations
213
314from collections import defaultdict
You can’t perform that action at this time.
0 commit comments