-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use argparse to add --output flag to plotting script #19
Conversation
🆗 Pre-flight checks passed 😃This pull request has been checked and contains no modified workflow files or spoofing. Results of any additional workflows will appear here when they are done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#17 also covered what happens if the output
already exists? The --overwrite
option seems like a good idea
Well that's frustrating, even the updated CI doesn't work |
Incorporate @ocaisa's file error handling. Co-authored-by: ocaisa <[email protected]>
534e637
to
f8d1da5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to merge this but until the CI is fixed it won't actually deploy
Nah, we'll get the CI working. It looks like Toby has been actively supporting related issues on the Slack #workbench; I'm working through his advice to others. |
... or maybe it won't help, and merging this will allow us to try PRs that change the Actions instead. |
This PR (programmed by an alleged human) uses the
argparse
module to document theplot_terse_amdahl_results.py
program, adding a--output
flag (required), revoking the requirement of JPEG output (matplotlib will guess the appropriate format from the filename, and error out if unknown), and updates the lesson content to use the new flag.Supersedes #17. Closes #17.