Skip to content
Snippets Groups Projects
Commit 93e276c3 authored by Danilo Ferreira de Lima's avatar Danilo Ferreira de Lima
Browse files

Clean up before shut down and don't start streaming by default.

parent 36bcf881
No related branches found
No related tags found
2 merge requests!59Interface CrystFEL with Karabo and allow automatic parameter tunning with rcrystfel,!53Train picker arbiter kernel
......@@ -394,10 +394,12 @@ class CrystfelRunner(PythonDevice):
self.KARABO_ON_EOS("input", self.end_of_stream_handler)
self.KARABO_ON_INPUT("input", self.input_handler)
# start CrystFEL by default
# this creates a temporary stream file if needed and runs CrystFEL reading
# from the ZMQ stream
self.startCrystfel()
# start CrystFEL by default if this is uncommented
#self.startCrystfel()
def preDestruction(self):
"""Stop CrystFEL processes before sutting down the instance."""
self.stopCrystfel()
def startCrystfel(self):
"""Start the CrystFEL process."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment