Skip to content

Oct 28, 2026 merge - #1351

Merged
adkinsrs merged 26 commits into
mainfrom
devel
Oct 28, 2026
Merged

adkinsrs merged 26 commits into
mainfrom
devel

Conversation

@adkinsrs

Copy link
Copy Markdown
Member

Mainly merging now to introduce identifiers.org support


This pull request introduces several improvements and refactorings to the spatial data upload handlers, enhances error reporting for missing files, and adds a new utility for determining display widths in auto-arranged layouts. It also updates documentation to use modern systemctl commands. The most important changes are grouped below.

Spatial Data Handler Improvements and Validation:

  • Added a new utility function _raise_if_missing_inputs in lib/gear/spatialhandler.py to check for required files after tarball extraction, providing clear error messages listing all missing user-facing files for each platform. This improves user feedback and reduces confusion about required file naming and placement.
  • Refactored all spatial platform handlers (CosMxHandler, CurioHandler, VisiumHandler, VisiumHDHandler, XeniumHandler) to use _raise_if_missing_inputs for validating required input files, replacing ad hoc file existence checks and improving consistency and clarity of error messages. [1] [2] [3] [4] [5]
  • Updated documentation strings and logic in spatial handlers to clarify which files are required, the expected file structure, and optional prefixes, making the upload requirements more explicit for users. [1] [2] [3] [4]

Auto Layout Display Width Utility:

  • Added get_auto_layout_width to lib/geardb.py, which determines the optimal grid width for a display in an auto-arranged layout using a set of rules (embedding plots get full width, otherwise the most common wide usage is preferred), improving the automatic layout experience for users.
  • Implemented a corresponding fake for get_auto_layout_width in tests/python/helpers/fake_geardb.py to support testing. [1] [2]

Documentation Updates:

  • Updated all references to restarting Apache in docs/developer/setup/apache.md to use systemctl instead of the deprecated service command, aligning instructions with modern best practices. [1] [2] [3] [4]

Minor Codebase Improvements:

  • Added missing imports and cleaned up some redundant code in lib/gear/spatialhandler.py (e.g., added glob and VisiumKeys imports, removed unnecessary exception checks). [1] [2] [3]

These changes collectively improve user experience, maintainability, and error reporting for spatial data uploads and display layout management.

jorvis and others added 26 commits February 11, 2025 01:07
…landing page, as designed by the UI V2 group
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ctory

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Embedding plots (tSNE/UMAP/PCA) get the full 12 columns; other displays use the
widest width used by at least 25% of their placements in saved collections.
Tiles are packed into rows by width. Debug logging is left commented out.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… and update HTML documentation for required files
@adkinsrs
adkinsrs merged commit 4a352ca into main Oct 28, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants