-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ketchup: json string switch and unready function (#80)
* Ketchup: add switch -J for receiving/sending json strings in submit and status * black formatting * Bugfix status of specific job zip(*running) would fail if no cells were running, now only does this if running is not empty. Also delete extraneous print statements. * Add 'unready' function to ketchup * Add ketchup unready to ketchup function list * Fix typo * Bugfix, simplify ketchup ready unready * PR #80 review changes Refactor ketchup status -J argument only on status and submit functions * Test on 0.2.x branch * ketchup status x print as yaml * Remove memory filled warning from driver_funcs Memory filled/size is not guaranteed by all drivers, should be made driver-specific * Attempt to read status directly from get_data, if not fall back to get_status * Bugfix checking if data["current"]["status"] exists * Bugfixfix last bugfix still didn't work if data is None * Bugfixfixfix just use a try except block Somehow data was NoneType but did not short circuit the previous 'if data and ....' statement * Bugfix example-counter early job termination Change get_status and get_data order to avoid race conditions when polling rate is the same as test duration --------- Co-authored-by: Peter Kraus <[email protected]>
- Loading branch information
1 parent
9f92a16
commit fb93703
Showing
6 changed files
with
182 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.