Skip to content

Commit

Permalink
Remove commented class, add deprecated flag instead
Browse files Browse the repository at this point in the history
  • Loading branch information
FLorial Jean Baptiste committed Dec 8, 2023
1 parent 3332d3d commit 89040b7
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions mxcubecore/HardwareObjects/Beamline.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,17 +439,20 @@ def harvester_maintenance(self):
__content_roles.append("harvester_maintenance")


# @property
# def plate_manipulator(self):
# """Plate Manuipulator Hardware object
# NBNB TODO REMOVE THIS and treat as an alternative sample changer instead.
@property
def plate_manipulator(self):
"""**DEPRECATED**
Plate Manuipulator Hardware object
NBNB TODO REMOVE THIS From qt version usage and
and call HWR.beamline.sample_changer instead as plate_manipulator being
treated as an alternative sample changer .
# Returns:
# Optional[AbstractSampleChanger]:
# """
# return self._objects.get("plate_manipulator")
Returns:
Optional[AbstractSampleChanger]:
"""
return self._objects.get("plate_manipulator")

# __content_roles.append("plate_manipulator")
__content_roles.append("plate_manipulator")

@property
def session(self):
Expand Down

0 comments on commit 89040b7

Please sign in to comment.