File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33from datetime import datetime
44import numpy as np
55import pandas as pd
6+ import re
67import warnings
78from scipy .stats import zscore
89from sklearn .linear_model import LogisticRegression
@@ -220,14 +221,13 @@ def _parse_and_validate_well_384(well):
220221 ValueError
221222 If well format is invalid or outside 384-well plate bounds.
222223 """
223- import re
224224
225225 VALID_384_WELL_ROWS = set ('ABCDEFGHIJKLMNOP' )
226226 MAX_384_WELL_COL = 24
227227
228228 # Check type and basic format using regex
229- # Format: single letter A-Za-z followed by 1-2 digits
230- if not isinstance (well , str ) or not re .match (r'^[A-Za-z ]\d{1,2}$' , well ):
229+ # Format: single letter A-Pa-p followed by 1-2 digits
230+ if not isinstance (well , str ) or not re .match (r'^[A-Pa-p ]\d{1,2}$' , well ):
231231 raise ValueError (
232232 "Well must be a letter A-P followed by a number 1-24, "
233233 "e.g., A1 or A01" )
Original file line number Diff line number Diff line change 4040notebook = [
4141 'jupyter >= 1.1.1' ,
4242 'notebook >= 6.5.7' ,
43- 'watermark >= 2.5.0'
43+ 'watermark >= 2.5.0' ,
4444 'ipyfilechooser' ]
4545
4646all_deps = base + test + coverage + notebook
You can’t perform that action at this time.
0 commit comments