Skip to content

Commit

Permalink
Modify BaseSequence.__str__ : use param.get_value
Browse files Browse the repository at this point in the history
  • Loading branch information
sinhaharsh committed Feb 5, 2024
1 parent 7957f9a commit 865810b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,8 @@ def __str__(self):
for key in self.params:
param = self.__dict__[key]
name = param.acronym if param.acronym else param.name
if not isinstance(param._value, UnspecifiedType):
plist.append(f'{name}={param._value}')
if not isinstance(param.get_value(), UnspecifiedType):
plist.append(f'{name}={param.get_value()}')

return '{}({})'.format(self.name, ','.join(plist))

Expand Down

0 comments on commit 865810b

Please sign in to comment.