Skip to content

Commit c92aa9b

Browse files
committed
fix is_complex check
1 parent 09ba600 commit c92aa9b

File tree

1 file changed

+1
-1
lines changed
  • pgscatalog.core/src/pgscatalog/core/lib

1 file changed

+1
-1
lines changed

pgscatalog.core/src/pgscatalog/core/lib/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def is_harmonised(self) -> bool:
301301
@computed_field # type: ignore
302302
@cached_property
303303
def is_complex(self) -> bool:
304-
is_complex = getattr(self.effect_allele, "is_snp", False)
304+
is_complex = not getattr(self.effect_allele, "is_snp", False)
305305
for x in self.complex_columns:
306306
if getattr(self, x):
307307
is_complex = True

0 commit comments

Comments
 (0)