Repository navigation
Conversation
…after the last command instead of after each one,
…x run - New Exclusions menu items open a dialog listing the well and replicate group exclusions to insert, update, or remove for the rows selected in the results grid
- The dialog's list is read-only, so a LabKey-styled table that wraps long values reads better than a selectable grid.
- Matches the existing well exclusion dialog
- Exclusions menu now shows Exclude Selected Rows and Remove Selected Exclusions on the results grid for all runs - a selection that spans up to 10 runs saves one exclusion job per run
- Retaining exclusions merged single-well exclusions of the same replicate group into one, and the re-import warning counted them as one, so all but one were lost.
…b in the well retention test
XingY
self-requested a review
November 29, 2026 04:55
XingY
approved these changes
Nov 29, 2026
| { | ||
| private static final TestRun SUMMARY_RUN = new TestRun("SelectedRowsRun", TEST_ASSAY_LUM_FILE10, "Standard1", "NB-101", ""); | ||
| private static final TestRun RAW_RUN = new TestRun("SelectedRowsRawRun", TEST_ASSAY_MULTIPLE_STANDARDS_1_XLSX, "Standard2", "NB-102", "plate 1 IgA-Biot + Standard2"); | ||
| private static final TestRun OTHER_RUN = new TestRun("SelectedRowsOtherRun", TEST_ASSAY_LUM_FILE10, "Standard1", null, ""); |
Contributor
There was a problem hiding this comment.
Is it intentional to have OTHER_RUN and SUMMARY_RUN both use TEST_ASSAY_LUM_FILE10?
| private void validateKeys(LuminexSaveExclusionsForm form, ExpRun run, Errors errors) | ||
| { | ||
| Set<Integer> keys = form.getCommands().stream() | ||
| .filter(command -> !"insert".equals(command.getCommand())) |
Contributor
There was a problem hiding this comment.
For "insert", is it possible to verify that the exclusion doesn't already exist?
| { | ||
| case "insert" -> | ||
| int remaining = commands.size(); | ||
| for (LuminexSingleExclusionCommand command : commands) |
Contributor
There was a problem hiding this comment.
I guess this is out of scope for this PR, but createExclusions doesn't seem to validate keys/dataids against current state.
| groupWells.wellValues().computeIfAbsent(group, _ -> new HashSet<>()).add(well); | ||
| if (rs.getBoolean("Summary")) | ||
| groupWells.summaryGroups().add(group); | ||
| double dilution = rs.getDouble("Dilution"); |
Contributor
There was a problem hiding this comment.
Claude suggest to use Double.parseDouble(value.toString())
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.
Rationale
Lets Luminex users exclude analytes for, or remove exclusions from, the rows they select in the assay results grid, including rows from up to 10 runs at once.
Until now, well and replicate group exclusions were made one at a time, from each row's exclusion link, within a single run. Labs that review many standards and controls across runs had to open that dialog repeatedly to exclude the same analytes. With this change they can check the rows in the results grid, for one run or across runs, and review and save all the resulting exclusions in one step. The existing per-row link and the other exclusion dialogs are unchanged. Each job reruns the run's transform script once, instead of after every exclusion.
Related Pull Requests
Changes