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

Improve error message of add_position #868

Open
Roger-luo opened this issue Jan 17, 2024 · 0 comments
Open

Improve error message of add_position #868

Roger-luo opened this issue Jan 17, 2024 · 0 comments
Labels
enhancement New feature or request mod:builder issues related to builder module

Comments

@Roger-luo
Copy link
Member

this currently just uses beartype, the error message is quite vague on how to fix it

NotFoundLookupError: For function `_add_position` of `bloqade.ir.location.location.AtomArrangement`, `(ListOfLocations(location_list=[]), [0.0, 0.0], None)` could not be resolved.

In [4]: start.add_position([0.0, 0.0])
@Roger-luo Roger-luo added enhancement New feature or request mod:builder issues related to builder module labels Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mod:builder issues related to builder module
Projects
None yet
Development

No branches or pull requests

1 participant