Skip to content

Commit 42159c6

Browse files
committed
fixed bug in calculation of available plate names
1 parent e61a3cb commit 42159c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/alhambra_mixes/references.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ def plate_map(
8686
"""
8787
well_to_strand_name = {}
8888
found_plate_name = False
89-
available_plate_names = []
89+
available_plate_names = set()
9090
for row in self.df.itertuples():
91-
available_plate_names.append(row.Plate)
91+
available_plate_names.add(row.Plate)
9292
if row.Plate == name: # type: ignore
9393
found_plate_name = True
9494
well = row.Well # type: ignore

0 commit comments

Comments
 (0)