Skip to content

Commit

Permalink
Rationalise pac_bio_run use in QCPoolMetrics
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdstrike committed Jul 30, 2024
1 parent 21ee7b8 commit bd25d0d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lang_qc/models/pacbio/qc_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,7 @@ def pre_root(cls, values: dict[str, Any]) -> dict[str, Any]:
sample_stats.append(
SampleDeplexingStats(
id_product=prod.id_pac_bio_product,
sample_name=(
prod.pac_bio_run.sample.name if prod.pac_bio_run else None
),
sample_name=lib_lims_data[i].sample.name,
tag1_name=lib_lims_data[i].tag_identifier,
tag2_name=lib_lims_data[i].tag2_identifier,
deplexing_barcode=prod.barcode4deplexing,
Expand Down

0 comments on commit bd25d0d

Please sign in to comment.