We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Reference.plate_map
1 parent 50378b8 commit 439e3caCopy full SHA for 439e3ca
tests/test_references.py
@@ -1,3 +1,4 @@
1
+import pytest
2
3
from alhambra_mixes import Reference
4
@@ -17,3 +18,11 @@ def test_idt():
17
18
eq = (dfo == dfp).all()
19
print(eq)
20
assert eq.loc[["Well", "Sequence", "Concentration (nM)"]].all()
21
+
22
23
+def test_raise_error_if_plate_name_not_found():
24
+ r_order = Reference.compile(("tests/data/holes-order.xlsx", "200 µM"))
25
26
+ # This should raise an error because the plate name "fake plate name" is not found in the reference
27
+ with pytest.raises(ValueError):
28
+ r_order.plate_map("fake plate name")
0 commit comments