Skip to content

Commit 5238baa

Browse files
committed
drop cnv_length computed field
1 parent e71ac58 commit 5238baa

File tree

1 file changed

+0
-5
lines changed
  • sumstatlib/src/gwascatalog/sumstatlib/cnv

1 file changed

+0
-5
lines changed

sumstatlib/src/gwascatalog/sumstatlib/cnv/models.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@ def validate_semantics(self) -> None:
9696
# validate start location is smaller than chromosome size?
9797
raise NotImplementedError
9898

99-
@computed_field
100-
@property
101-
def cnv_length(self) -> int:
102-
return self.base_pair_end - self.base_pair_start
103-
10499
@model_validator(mode="after")
105100
def effect_size_is_mandatory(self) -> Self:
106101
"""Check that an effect size is provided"""

0 commit comments

Comments
 (0)