Skip to content

Commit

Permalink
Black reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Levitsky committed Oct 9, 2024
1 parent be657f5 commit f6f3617
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sdrf_pipelines/sdrf/sdrf_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,10 @@ def validate_columns_order(panda_sdrf):
error_message = "The column " + column + " cannot be before the assay name"
error_columns_order.append(LogicError(error_message, error_type=logging.ERROR))
if (
"characteristics" in column or ("material type" in column and "factor value" not in column)
or "technology type" in column) and idx > assay_index:
"characteristics" in column
or ("material type" in column and "factor value" not in column)
or "technology type" in column
) and idx > assay_index:
error_message = "The column " + column + " cannot be after the assay name"
error_columns_order.append(LogicError(error_message, error_type=logging.ERROR))
if "factor value" in column and not factor_tag:
Expand Down

0 comments on commit f6f3617

Please sign in to comment.