• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Clinical-Genomics / cg / 12294344407

12 Dec 2024 10:19AM UTC coverage: 80.834%. First build
12294344407

Pull #3936

github

web-flow
Merge 82f219ba6 into ab9ded5a4
Pull Request #3936: (Improve order flow) Minimal implementation FASTQSubmission

34 of 52 new or added lines in 11 files covered. (65.38%)

13648 of 16884 relevant lines covered (80.83%)

1.5 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.82
/cg/services/orders/submitters/fastq_order_submitter.py
1
from cg.services.order_validation_service.workflows.fastq.models.order import FastqOrder
1✔
2
from cg.services.order_validation_service.workflows.fastq.validation_service import (
1✔
3
    FastqValidationService,
4
)
5
from cg.services.orders.store_order_services.store_fastq_order_service import StoreFastqOrderService
1✔
6
from cg.services.orders.submitters.order_submitter import OrderSubmitter
1✔
7

8

9
class FastqOrderSubmitter(OrderSubmitter):
1✔
10
    """Submitter for fastq orders."""
11

12
    def __init__(
1✔
13
        self,
14
        order_validation_service: FastqValidationService,
15
        order_store_service: StoreFastqOrderService,
16
    ):
17
        self.order_validation_service = order_validation_service
1✔
18
        self.order_store_service = order_store_service
1✔
19

20
    def submit_order(self, order: FastqOrder) -> dict:
1✔
21
        """Submit a fastq order."""
NEW
22
        result: dict = self.order_store_service.store_order(order)
×
23
        return result
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc