Skip to content

makes-pmac-a-pmactrajectorytriggerlogic-class-reference#1223

Merged
gkalua merged 3 commits into
mainfrom
Make-Pmac-a-PmacTrajectoryTriggerLogic-class-reference
Mar 12, 2026
Merged

makes-pmac-a-pmactrajectorytriggerlogic-class-reference#1223
gkalua merged 3 commits into
mainfrom
Make-Pmac-a-PmacTrajectoryTriggerLogic-class-reference

Conversation

@gkalua
Copy link
Copy Markdown
Contributor

@gkalua gkalua commented Mar 11, 2026

@gkalua gkalua requested a review from shihab-dls March 11, 2026 15:20
):
def __init__(self, pmac: PmacIO, name: str = "") -> None:
self.pmac = pmac
self._pmac_ref = Reference(pmac)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just do:

Suggested change
self._pmac_ref = Reference(pmac)
self.pmac_ref = Reference(pmac)

and remove the @property? Then everywhere that references .pmac should use .pmac_ref().

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@gkalua gkalua merged commit d0e9e67 into main Mar 12, 2026
37 of 38 checks passed
@gkalua gkalua deleted the Make-Pmac-a-PmacTrajectoryTriggerLogic-class-reference branch March 12, 2026 08:30
coretl pushed a commit that referenced this pull request Mar 16, 2026
* makes-pmac-a-pmactrajectorytriggerlogic-class-reference

* Addresses comments

---------

Co-authored-by: gkalua <jyv15736@pc0139.cs.diamond.ac.uk>
Co-authored-by: Shihab S <162436767+shihab-dls@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants