Skip to content

Commit

Permalink
Check samples are not duplicated
Browse files Browse the repository at this point in the history
  • Loading branch information
ypriverol committed Jul 29, 2024
1 parent 333aeda commit 878ff3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdrf_pipelines/sdrf/sdrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ def check_unique_sample_file_combinations(self, errors: List[LogicError]) -> Lis

for col in cols:
if col not in self.columns:
error_message = f"In order to perform experimental design validation, column '{col}' must be present in the SDRF"
error_message = (
f"In order to perform experimental design validation, column '{col}' must be present in the SDRF"
)
errors.append(LogicError(error_message, error_type=logging.ERROR))

colum_present = all(col in self.columns for col in cols)
Expand Down

0 comments on commit 878ff3a

Please sign in to comment.