Skip to content

Release v0.14.3: Dataset Loading Enhancement for ASA GUI

Choose a tag to compare

@Routhleck Routhleck released this 28 Jan 11:51
· 35 commits to master since this release

What's New

📊 Enhanced Dataset Loading in ASA GUI

  • Load datasets directly from built-in sources or URLs in the preprocess page
  • Streamlined workflow for importing experimental data
  • Automatic validation and conversion to .npz format

Major Features / Key Changes

📊 Dataset/URL Input Support (e6a8937)

  • Preprocess Page Enhancement: Added comprehensive dataset loading interface with multiple input methods
  • Built-in Dataset Selection: Dropdown menu for selecting from available built-in datasets with session and filename controls
  • URL Import: Direct URL input field for fetching remote datasets with automatic download and validation
  • Automatic Format Conversion: Fetched datasets are validated and saved as .npz files for seamless preprocessing
  • UI Controls: Intuitive interface with dataset selector, session input, filename input, and URL input fields
# Example: Loading a dataset from URL in ASA GUI
# Users can now paste a URL directly in the preprocess page:
# https://example.com/dataset.npz
# The GUI will fetch, validate, and save it automatically

🔧 Technical Improvements

  • New Dependency: Added requests library for HTTP functionality (included in both dev-gui and gui extras)
  • Enhanced Validation: Improved dataset validation logic to ensure data integrity before preprocessing
  • Path Compare Mode: Minor updates to path comparison analysis mode

New Dependencies

  • requests: HTTP library for fetching datasets from URLs (included in gui and dev-gui extras)

Breaking Changes

None - all additions are backward compatible.

Technical Notes

  • Dataset URLs must point to valid .npz files or compatible formats
  • Downloaded datasets are cached locally for preprocessing
  • The feature integrates seamlessly with existing preprocessing workflows

Files Modified

  • pyproject.toml: Added requests dependency to gui and dev-gui extras
  • src/canns/pipeline/asa_gui/views/pages/preprocess_page.py: Enhanced with dataset/URL loading UI and logic
  • src/canns/pipeline/asa_gui/analysis_modes/pathcompare_mode.py: Minor updates
  • uv.lock: Updated dependency lock file

Use Cases

  • Researchers: Quickly load experimental datasets from remote repositories without manual downloads
  • Data Analysts: Streamline preprocessing workflow by directly importing datasets via URL
  • Collaborative Teams: Share dataset URLs for consistent data loading across team members

Full Changelog: v0.14.2...v0.14.3