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

deviceDict changed to JSON format #20

Merged
merged 7 commits into from
Mar 6, 2020
Merged

deviceDict changed to JSON format #20

merged 7 commits into from
Mar 6, 2020

Conversation

ZryletTC
Copy link
Contributor

@ZryletTC ZryletTC commented Nov 5, 2019

Description

deviceDict is used to hold information about devices for the questionnaire. This was previously in the form of deviceDict.py. This python object was dumped in JSON format with pretty printing allowing for easier editing in the future. Edits were also made to the questionnaire_tools file to allow it to open the file from its new format.

Motivation and Context

JSON format allows for easier editing of device info for changes to questionnaire

How Has This Been Tested?

I'm not sure how questionnaire_tools is meant to be run so I've only tested it by running questionnaire_tools and seeing that it gets past my import JSON lines ok. Some help testing would be appreciated.

Where Has This Been Documented?

Nowhere :/

@ZryletTC ZryletTC requested a review from silkenelson November 5, 2019 23:46
@ZryletTC
Copy link
Contributor Author

Adding more common setups to json. Merge will be delayed until complete.

@ZryletTC
Copy link
Contributor Author

ZryletTC commented Mar 5, 2020

Nevermind, I don't know how they want the entries set up. I think it's better to just get this out there and new setups can be added later.

@ZryletTC ZryletTC marked this pull request as ready for review March 5, 2020 19:50
@ZryletTC ZryletTC requested a review from ZLLentz March 5, 2020 19:50
Copy link
Member

@ZLLentz ZLLentz left a comment

Choose a reason for hiding this comment

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

Always good to see us moving towards using standard tools

@ZryletTC ZryletTC merged commit b969cb2 into pcdshub:master Mar 6, 2020
@ZryletTC ZryletTC deleted the deviceDictJSON branch March 6, 2020 02:04
@klauer
Copy link
Contributor

klauer commented Mar 6, 2020

👏

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 this pull request may close these issues.

3 participants