Skip to content

Commit e2642b4

Browse files
committed
enable ID setting for peaklist
1 parent dcca71b commit e2642b4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dimspy/models/peaklist.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,16 @@ def ID(self):
140140
Property of the peaklist ID.
141141
142142
:getter: returns the peaklist ID
143+
:setter: set the peaklist ID
143144
:type: same as input ID
144145
145146
"""
146147
return self._id
147148

149+
@ID.setter
150+
def ID(self, value):
151+
self._id = str(value)
152+
148153
@property
149154
def size(self):
150155
"""

0 commit comments

Comments
 (0)