Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Check incoming scan type and improve logging #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elistavitski
Copy link

No description provided.

@@ -77,69 +77,52 @@ def __init__(self, gen_parser, xia_parser, db, beamline_gpfs_path, zmq_sender, u
self.gid = grp.getgrnam(username).gr_gid

def process(self, md, requester, interp_base='i0'):
print('starting processing!')
current_path = self.create_user_dirs(self.user_data_path,
if md['plan_name'] == 'relative_scan' or md['plan_name'] == 'get_offsets':

Choose a reason for hiding this comment

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

This might be better served as an else: block to catch all other plans.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants