Skip to content

Commit

Permalink
Change or to and
Browse files Browse the repository at this point in the history
  • Loading branch information
rernst committed Feb 29, 2024
1 parent b45a587 commit 2e6bcec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clarity_epp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def get_sample_artifacts_from_pool(lims, pool_artifact):
# Check if sample_artifact with 2 samples are from the same person
if len(sample_artifact.samples) == 2:
if (
'Dx Persoons ID' in sample_artifact.samples[0].udf or
'Dx Persoons ID' in sample_artifact.samples[1].udf or
'Dx Persoons ID' in sample_artifact.samples[0].udf and
'Dx Persoons ID' in sample_artifact.samples[1].udf and
sample_artifact.samples[0].udf['Dx Persoons ID'] == sample_artifact.samples[1].udf['Dx Persoons ID']
):
sample_artifacts.append(sample_artifact)
Expand Down

0 comments on commit 2e6bcec

Please sign in to comment.