-
Notifications
You must be signed in to change notification settings - Fork 1
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
Read CSV columns from uploaded file #45
Conversation
@@ -29,13 +37,12 @@ def get_arg_parser(): | |||
|
|||
def main(): # pragma: no cover | |||
# We call parse_args() again inside the app. | |||
# We only call it here so "--help" is handled. | |||
# We only call it here so "--help" is handled, | |||
# and to validate inputs. | |||
get_arg_parser().parse_args() |
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.
Can we also have a test that the required arguments were passed? When I run the app with no args, it shows a stack trace of an unhandled error. I read your comment about skipping this for now, but I'm not sure I understand how that helps with debugging?
@ekraffmiller , added assertions in the end-to-end test to make sure there are no shiny errors, and fixed the error we were seeing by just returning |
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.
Comments addressed, approving
The pairs of
reactive.calc
andrender.text
functions seem redundant, but I ran into trouble when I tried to apply both decorators to one function. When I feel more confident about how I'm using the library may ask about this in one of the forums.