Skip to content

Commit

Permalink
refactor index set IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl-Svard committed Dec 6, 2024
1 parent e826bf6 commit 09cf2d8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions cg_lims/EPPs/files/smrt_link/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@
}


INDEX_SET_UUID: Dict[str, str] = {
"SMRTbell adapter indexes": "43f950a9-8bde-3855-6b25-c13368069745"
}
class RevioIndexSets(StrEnum):
SMRTBELL_INDEX_SET: str = "43f950a9-8bde-3855-6b25-c13368069745"


class RunDesignHeader(StrEnum):
Expand Down Expand Up @@ -248,9 +247,7 @@ def _create_smrt_cell_settings(self) -> str:
for pool in self.pools:
well: str = _get_smrt_cell_well(pool=pool, plate_dict=self.plates)
if _is_indexed(pool=pool):
index_set: str = (
"43f950a9-8bde-3855-6b25-c13368069745" # how do we fetch this one??
)
index_set: str = RevioIndexSets.SMRTBELL_INDEX_SET
else:
index_set: str = pool.samples[0].id

Expand Down

0 comments on commit 09cf2d8

Please sign in to comment.