Skip to content

Commit

Permalink
fixing litin
Browse files Browse the repository at this point in the history
  • Loading branch information
luissian committed Jul 10, 2023
1 parent 178e6ed commit 5739e2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wetlab/utils/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,9 @@ def validate_sample_sheet_data(input_data):
not_defined = wetlab.config.ERROR_SAMPLE_SHEET_CONTAINS_NOT_DEFINED_SAMPLES
return {"ERROR": not_defined}
if len(invalid_state_samples) > 0:
return {"ERROR" : wetlab.config.ERROR_SAMPLES_INVALID_STATE_FOR_LIBRARY_PREPARATION}
return {
"ERROR": wetlab.config.ERROR_SAMPLES_INVALID_STATE_FOR_LIBRARY_PREPARATION
}
# check if sample sheet has duplicate index
duplicate_index = find_duplicate_index(
input_data["sample_data"], input_data["heading"]
Expand Down

0 comments on commit 5739e2a

Please sign in to comment.