Skip to content

added EUST2, EUSTAPF#2

Merged
philipwfowler merged 2 commits into
masterfrom
add-staph
May 21, 2026
Merged

added EUST2, EUSTAPF#2
philipwfowler merged 2 commits into
masterfrom
add-staph

Conversation

@philipwfowler
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for two additional plate designs (EUST2 and EUSTAPF) by shipping their layout matrices as package resources and exposing them via the CLI’s --plate_design option. It also removes a set of legacy/duplicate matrix files from the repository-level config/ directory.

Changes:

  • Add EUST2 and EUSTAPF drug / concentration / dilution matrices under amygda/config/.
  • Register EUST2 and EUSTAPF as valid --plate_design choices in the CLI.
  • Delete repository-level config/*-matrix.txt files (now redundant with amygda/config/* resource loading).

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
config/UKMYC6-drug-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/UKMYC6-dilution-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/UKMYC6-conc-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/UKMYC5-drug-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/UKMYC5-dilution-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/UKMYC5-conc-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/GPALL1F-drug-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/GPALL1F-dilution-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/GPALL1F-conc-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/GB1ECSDP-drug-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/GB1ECSDP-dilution-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/GB1ECSDP-conc-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/CHNMCMM2-drug-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/CHNMCMM2-dilution-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
config/CHNMCMM2-conc-matrix.txt Removed legacy repository-level matrix file (package uses amygda/config/*).
amygda/config/EUSTAPF-drug-matrix.txt Adds EUSTAPF drug layout matrix as package resource.
amygda/config/EUSTAPF-dilution-matrix.txt Adds EUSTAPF dilution index matrix as package resource.
amygda/config/EUSTAPF-conc-matrix.txt Adds EUSTAPF concentration matrix as package resource.
amygda/config/EUST2-drug-matrix.txt Adds EUST2 drug layout matrix as package resource.
amygda/config/EUST2-dilution-matrix.txt Adds EUST2 dilution index matrix as package resource.
amygda/config/EUST2-conc-matrix.txt Adds EUST2 concentration matrix as package resource.
amygda/cli.py Exposes EUST2/EUSTAPF via CLI validation; minor formatting-only refactors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread amygda/cli.py
Comment on lines 14 to 22
VALID_PLATE_DESIGNS = {
"UKMYC5",
"UKMYC6",
"GPALL1F",
"CHNMCMM2",
"GB1ECSDP",
"EUST2",
"EUSTAPF",
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Added a parametrized smoke test test_initialize_plate_layout_for_new_designs in commit eabc116. It covers both EUST2 (2 POS controls) and EUSTAPF (3 POS controls), asserting the 8×12 matrix shape and presence of POS in drug_names.

@philipwfowler philipwfowler merged commit 6a41eec into master May 21, 2026
3 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.

3 participants