Repository navigation
Fix test breaks the port left: measurement contract methods, materializer spellings, a moved import - #1375
Merged
Conversation
…oved import is followed The contract's two predicates were module functions in runtime_measurements while their callers (image_set_numbering, spreadsheet_export, the dialect test) called them on the contract. They are methods of the contract again, and MeasurementStatistic, which the aggregate one needs, sits beside it, so runtime_measurements no longer imports it back. feature_enhancement imported cellprofiler.morphology, which is morphology_family.morphology. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016gZLdxTa9e8d6J4PvBWMM9
csv_only(), json_only(), text_only(), tiff_stack(), roi_zip() and the *_materializer helpers came from a presets module that is not in this history; the library's own spelling is MaterializationSpec(XOptions(...)). The one test that only tested a deleted helper goes with it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016gZLdxTa9e8d6J4PvBWMM9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits by pm-trainer-e, each with its focused tests run in its message:
ecddb19eThe measurement contract answers its own sample-number questions (RuntimeMeasurementRowIdentityContractpredicates are methods again;MeasurementStatisticmoved next to it, 6 importers repointed);feature_enhancement.pyimportsmorphology_family.morphology, so the speckles FAST path with radius over 3 is no longer dead.2e6d1ec6Tests spell their materializers the way the library does now (MaterializationSpec(CsvOptions(...))etc., 64 call sites); the test of a deleted helper is gone.Context: CI on #1374 was red (unit-subset, smoke, structural-ratchet); these cure the unit-subset failures that were the code's own. The others (ui-theme and pyqt-reactive installed from PyPI releases that lack what the port targets) are a CI change that follows.
Maintainer instruction to merge: Tristan, bus message 32383 (
5f618fde8035).🤖 Generated with Claude Code
https://claude.ai/code/session_016gZLdxS38RuoZjQTydVqFS