tomography / scanscripts

Experiment scanning scripts at APS
http://scanscripts.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Barb #3

Closed bfrosik closed 7 years ago

bfrosik commented 7 years ago

This is calling the remote method (registered). The remote method closes the verifier process. If you think that the name is confusing, I will try to come up with something or you can propose a name.


From: Doga Gursoy [notifications@github.com] Sent: Friday, March 24, 2017 9:34 AM To: tomography/scanscripts Cc: Frosik, Barbara B.; Author Subject: Re: [tomography/scanscripts] Barb (#3)

@dgursoy commented on this pull request.


In tomo/32id/tomo_scan_lib.pyhttps://github.com/tomography/scanscripts/pull/3#discussion_r107916023:

  • self.manager.stop_process()
  • try:
  • conn = self.manager._Client(address = (host, port), authkey = key)
  • conn.close()
  • except Exception:
  • pass
  • remote_controller = RemoteController()
  • this will connect to the server

  • remote_controller.QueueServerClient(host, port, key)
  • this will execute command on the server

  • remote_controller.stop_remote_process()
  • Contact GitHub API Training Shop Blog About

What's this line?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/tomography/scanscripts/pull/3#pullrequestreview-28918391, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APchMI1jOu1c1inWRRNrFebN4NTOTlumks5ro9RngaJpZM4MnNb7.

bfrosik commented 7 years ago

Added start/stop verifier