Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Gruzinov committed Sep 25, 2024
1 parent 1e7ce00 commit 4a66030
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions mxcubecore/HardwareObjects/DESY/P11NanoDiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,10 +740,6 @@ def manual_centring(self, phi_range=120, n_points=3):

print("************************", X,Y,PHI)

#phi_mot.set_value(phi_start_pos)
#gevent.sleep(2)
#phi_mot.wait_ready()

DX = []
DY = []
ANG = []
Expand Down Expand Up @@ -1215,16 +1211,17 @@ def goto_collect_phase(self, wait=True):
self.phase_goingto = GenericDiffractometer.PHASE_COLLECTION

self.log.debug(" SETTING DATA COLLECTION PHASE ")
# self.log.debug(" - open detector cover")
self.log.debug(" - setting backlight out")
self.log.debug(" - putting collimator up")
self.log.debug(" - setting beamstop in")
self.log.debug(" - moving yag down")

# self.detcover_hwobj.open()
self.log.debug(" - setting backlight out")
self.backlight_hwobj.set_out()

self.log.debug(" - putting collimator up")
self.collimator_hwobj.set_value("up")

self.log.debug(" - setting beamstop in")
self.beamstop_hwobj.set_value("in")

self.log.debug(" - moving yag down")
self.yag_hwobj.set_value("down")

self.log.debug("========= - checking pinhole ===============")
Expand Down

0 comments on commit 4a66030

Please sign in to comment.