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

Fixes several issues that broke the testing workflow #132

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

jcao-bdai
Copy link
Collaborator

@jcao-bdai jcao-bdai commented Jul 22, 2024

Fixes several issues that broke the testing workflow:

  • a few assertEqual cases in tests, uses math.isclose for float values;
  • a case where call to matplotlib's add_collection3d now requires items in _segments3d to have homogeneous shapes (breaking change introduced by matplotlib and numpy).

@jcao-bdai jcao-bdai changed the title Fixes a few assertEqual cases in tests Fixes several issues that broke the workflow Jul 22, 2024
# ax.plot(E[0], E[1], E[2], **kwargs)
lines.append(E.T)
for line in zip(edge[:-1], edge[1:]):
E = vertices[:, line]
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like I learn new weird Python hacks every time I read stuff like this.

@jcao-bdai jcao-bdai changed the title Fixes several issues that broke the workflow Fixes several issues that broke the testing workflow Jul 22, 2024
@jcao-bdai jcao-bdai requested a review from a team July 23, 2024 18:44
Copy link
Collaborator

@myeatman-bdai myeatman-bdai left a comment

Choose a reason for hiding this comment

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

Thank you very much for fixing these @jcao-bdai !

@jcao-bdai jcao-bdai merged commit 53c0ee1 into master Jul 23, 2024
19 checks passed
@jcao-bdai jcao-bdai deleted the test-workflow-fixes branch July 23, 2024 19:09
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