Skip to content

Commit

Permalink
Remove unnecessary rules
Browse files Browse the repository at this point in the history
  • Loading branch information
islean committed Aug 29, 2024
1 parent 3776065 commit 1aa8498
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions cg/services/order_validation_service/errors/case_sample_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ class MotherNotInCaseError(CaseSampleError):
message: str = "Mother must be in the same case"


class StatusMissingError(CaseSampleError):
field: str = "status"
message: str = "Carrier status is required"


class SampleDoesNotExistError(CaseSampleError):
field: str = "internal_id"
message: str = "The sample does not exist"
Expand All @@ -94,11 +89,6 @@ class SexMissingError(CaseSampleError):
message: str = "Sex is required"


class SourceMissingError(CaseSampleError):
field: str = "source"
message: str = "Source is required"


class SubjectIdSameAsCaseNameError(CaseSampleError):
field: str = "subject_id"
message: str = "Subject id must be different from the case name"
Expand Down
10 changes: 0 additions & 10 deletions cg/services/order_validation_service/errors/sample_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,6 @@ class OrganismDoesNotExistError(SampleError):
message: str = "Organism does not exist"


class ElutionBufferMissingError(SampleError):
field: str = "elution_buffer"
message: str = "Buffer is required"


class ExtractionMethodMissingError(SampleError):
field: str = "extraction_method"
message: str = "Extraction method is required"


class SampleNameNotAvailableError(SampleError):
field: str = "name"
message: str = "Sample name already used in previous order"

0 comments on commit 1aa8498

Please sign in to comment.