Skip to content

Commit 3721f28

Browse files
committed
Removes unused public attributes method
1 parent 4c491d0 commit 3721f28

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/easydiffraction/experiments/experiment.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,6 @@ def _load_ascii_data_to_experiment(self, data_path: str) -> None:
160160
class BasePowderExperiment(BaseExperiment):
161161
"""Base class for all powder experiments."""
162162

163-
# _public_attrs() = {
164-
# 'peak',
165-
# 'peak_profile_type',
166-
# 'linked_phases',
167-
# 'excluded_regions',
168-
# }
169-
170163
def __init__(
171164
self,
172165
*,
@@ -246,7 +239,7 @@ def peak_profile_type(self, new_type: str):
246239
print(paragraph(f"Peak profile type for experiment '{self.name}' changed to"))
247240
print(new_type)
248241

249-
# NEW
242+
# TODO: Compare with above and decide which one to keep
250243
@peak_profile_type.setter
251244
def peak_profile_type(self, new_type: str | PeakProfileTypeEnum):
252245
if isinstance(new_type, str):

0 commit comments

Comments
 (0)