Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not report error without experiment file #57

Closed
teddyrendahl opened this issue Feb 20, 2018 · 0 comments · Fixed by #58
Closed

Do not report error without experiment file #57

teddyrendahl opened this issue Feb 20, 2018 · 0 comments · Fixed by #58

Comments

@teddyrendahl
Copy link
Contributor

Current Behavior

Currently if there is no experiment file an error is printed at startup.

  INFO     Loading experiment ls0816
  ERROR    Plugin experiment failed to load, skipping

Requested Behavior

Many experiments (at least thus far in MFX) do not need experiment files. They are content with just the devices within the happi database and the Questionnaire. This error message appears to freak scientists out. I think we should downgrade the not-exists error message, and only report a full exception if there is a file that exists that can not be imported properly.

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

Successfully merging a pull request may close this issue.

1 participant