Skip to content

Commit

Permalink
refactor: make *_names tuple in PCDDataModule
Browse files Browse the repository at this point in the history
Fixes #22
  • Loading branch information
adosar committed Dec 26, 2024
1 parent fc8bfc7 commit 6a68787
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/aidsorb/datamodules.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,17 +180,17 @@ def setup(self, stage=None):
@property
def train_names(self):
r"""The names of point clouds used for training."""
return self._train_names
return tuple(self._train_names)

@property
def val_names(self):
r"""The names of point clouds used for validation."""
return self._val_names
return tuple(self._val_names)

@property
def test_names(self):
r"""The names of point clouds used for testing."""
return self._test_names
return tuple(self._test_names)

def set_train_dataset(self):
r"""Setup the train dataset."""
Expand Down

0 comments on commit 6a68787

Please sign in to comment.