Skip to content

Commit

Permalink
fix types of pacbio dto attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
diitaz93 committed Jul 29, 2024
1 parent b9c23ea commit 0103b45
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions cg/services/post_processing/pacbio/data_transfer_service/dto.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,29 @@ class PacBioSequencingRunDTO(BaseModel):
type: DeviceType
well: str
plate: int
movie_time_hours: int
movie_time_hours: int | None
hifi_reads: int
hifi_yield: int
hifi_mean_read_length: int
hifi_mean_read_length: float
hifi_median_read_length: int
hifi_mean_length_n50: int
hifi_median_read_quality: str
percent_reads_passing_q30: float
productive_zmws: int
p0_percent: float
p1_percent: float
p2_percent: float
polymerase_mean_read_length: int
polymerase_read_length_n50: int
polymerase_mean_longest_subread: int
polymerase_longest_subread_n50: int
polymerase_mean_read_length: float
polymerase_read_length_n50: float
polymerase_mean_longest_subread: float
polymerase_longest_subread_n50: float
control_reads: int
control_mean_read_length: int
control_mean_read_length: float
control_mean_read_concordance: float
control_mode_read_concordance: float
failed_reads: int
failed_yield: int
failed_mean_read_length: int
failed_mean_read_length: float
movie_name: str


Expand All @@ -43,12 +45,13 @@ class PacBioSampleSequencingMetricsDTO(BaseModel):
sample_internal_id: str
hifi_reads: int
hifi_yield: int
hifi_mean_read_length: int
hifi_mean_read_length: float
hifi_median_read_length: int
hifi_median_read_quality: str
percent_reads_passing_q30: float
failed_reads: int
failed_yield: int
failed_mean_read_length: int
failed_mean_read_length: float


class PacBioDTOs(PostProcessingDTOs):
Expand Down

0 comments on commit 0103b45

Please sign in to comment.