Skip to content

Commit

Permalink
Support for different typer behaviors.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitenti committed May 19, 2024
1 parent e02961a commit 9817d81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions numcosmo_py/app/loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,10 @@ def __post_init__(self) -> None:

def _extract_indices(self):
"""Extract the indices to include in the analysis."""
if self.include is None:
self.include = []
if self.exclude is None:
self.exclude = []
assert self.include is not None
assert self.exclude is not None
if not self.include and not self.exclude:
Expand Down

0 comments on commit 9817d81

Please sign in to comment.