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

Set minimum version of Gradio and rename height to max_height #152

Open
wants to merge 6 commits into
base: test-fixes
Choose a base branch
from

Conversation

ejm714
Copy link
Collaborator

@ejm714 ejm714 commented Feb 28, 2025

Closes #150

This issue was not caught by weekly test runs because we didn't have any tests for cyfi/visualize.py. This PR adds a new test to ensure the explorer launches successfully

)
time.sleep(10)
proc.send_signal(signal.SIGINT)
stdout, stderr = proc.communicate()
Copy link
Member

Choose a reason for hiding this comment

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

Set it make sense to check that the exit code is 0?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

you mean instead of killing the process? i think we'd just be checking that the sigint worked as expected, not anything about the cyfi explorer

Copy link
Member

Choose a reason for hiding this comment

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

I guess it may be unnecessary depending on how the Gradio application works, but it's a way to test that it doesn't have a runtime error after the "Running on" string that you are testing for. It might be that it doesn't make sense for this case.

@ejm714 ejm714 changed the base branch from main to test-fixes March 3, 2025 21:37
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.

TypeError: Dataframe.__init__() got an unexpected keyword argument 'height' in visualize.py
2 participants