Skip to content

Commit

Permalink
make normalize flag read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
ntessore committed Dec 11, 2023
1 parent 20b578e commit af11eb3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions heracles/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,6 @@ def __init__(self, normalize: bool, **kwargs) -> None:
def normalize(self) -> bool:
return self._normalize

@normalize.setter
def normalize(self, normalize: bool) -> None:
"""Set the normalize flag."""
self._normalize = normalize


async def _pages(
catalog: Catalog,
Expand Down Expand Up @@ -280,10 +275,6 @@ def overdensity(self) -> bool:
"""Flag to create overdensity maps."""
return self.normalize

@overdensity.setter
def overdensity(self, overdensity: bool) -> None:
self.normalize = overdensity

async def __call__(
self,
catalog: Catalog,
Expand Down

0 comments on commit af11eb3

Please sign in to comment.