Skip to content

Commit

Permalink
fixing an issue with the parent attribute being seen
Browse files Browse the repository at this point in the history
  • Loading branch information
awalter-bnl committed Jun 24, 2024
1 parent 4036560 commit 95a2cf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified src/ari_sxn_common/__pycache__/common_bluesky.cpython-312.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions src/ari_sxn_common/common_bluesky.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __str__(self):
"""
output = f'\n{self.parent.name}.{self.name}:'
for name in self.__dict__.keys():
if name != 'name':
if name not in ['name', 'parent']:
output += f'\n {name}'

return output
Expand Down Expand Up @@ -185,7 +185,7 @@ def __str__(self):
"""
output = f'\n{self.name}:'
for name, plan in self.__dict__.items():
if name != 'name':
if name not in ['name','parent']:
if plan.__dict__:
output += f'\n {plan.__str__().replace(
'\n', '\n ').replace(
Expand Down

0 comments on commit 95a2cf4

Please sign in to comment.