Skip to content

Conversation

@rogding
Copy link
Contributor

@rogding rogding commented Nov 16, 2025

Changed np.string_ to np_bytes to work with numpy>=2.0 to address #131.

This should be an unnoticeable change since numpy.string_ was an alias of numpy.bytes_.

dihm
dihm previously approved these changes Nov 18, 2025
Copy link
Contributor

@dihm dihm 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 for the quick fix!

@dihm
Copy link
Contributor

dihm commented Nov 18, 2025

I went ahead and used ruff's NPY201 check to see if there were others to fix at the same time, and there are a couple. I went ahead and pushed those changes to your branch and will merge them all together as one.

@dihm dihm merged commit ce3506b into labscript-suite:master Nov 18, 2025
1 check passed
@rogding rogding deleted the issue_131 branch November 19, 2025 03:50
@rogding rogding restored the issue_131 branch November 19, 2025 03:51
@rogding rogding deleted the issue_131 branch November 19, 2025 03:52
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.

2 participants