Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove directory for balsamic specific rules #4116

Open
wants to merge 1 commit into
base: improve-order-flow-main
Choose a base branch
from

Conversation

diitaz93
Copy link
Contributor

Description

Added

Changed

Fixed

How to prepare for test

  • Ssh to relevant server (depending on type of change)
  • Use stage: us
  • Paxa the environment: paxa
  • Install on stage (example for Hasta):
    bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_cg -t cg -b [THIS-BRANCH-NAME] -a

How to test

  • Do ...

Expected test outcome

  • Check that ...
  • Take a screenshot and attach or copy/paste the output.

Review

  • Tests executed by
  • "Merge and deploy" approved by
    Thanks for filling in who performed the code review and the test!

This version is a

  • MAJOR - when you make incompatible API changes
  • MINOR - when you add functionality in a backwards compatible manner
  • PATCH - when you make backwards compatible bug fixes or documentation/instructions

Implementation Plan

  • Document in ...
  • Deploy this branch on ...
  • Inform to ...

@diitaz93 diitaz93 requested a review from a team as a code owner January 17, 2025 15:36
Copy link
Contributor

@islean islean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

) -> list[CaptureKitMissingError]:
"""
Return an error for each new sample missing a capture kit, if its application requires one.
Applicable to Balsamic orders only.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Applicable to Balsamic orders only.
Applicable to Balsamic and Balsamic-UMI orders only.



def validate_capture_kit_panel_requirement(
order: BalsamicOrder, store: Store
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
order: BalsamicOrder, store: Store
order: BalsamicOrder | BalsamicUmiOrder, store: Store

@@ -283,3 +286,13 @@ def is_buffer_missing(sample: SampleInCase) -> bool:
sample.application.startswith(tuple(applications_requiring_buffer))
and not sample.elution_buffer
)


def is_sample_missing_capture_kit(sample: BalsamicSample, store: Store) -> bool:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def is_sample_missing_capture_kit(sample: BalsamicSample, store: Store) -> bool:
def is_sample_missing_capture_kit(sample: BalsamicSample | BalsamicUmiSample, store: Store) -> bool:

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