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

Solving issues in the onion examples #46

Merged
merged 8 commits into from
Nov 25, 2024

Conversation

matteobecchi
Copy link
Contributor

@matteobecchi matteobecchi commented Nov 18, 2024

Requested Reviewers: @andrewtarzia

  • examples/onion_uni.py and examples/onion_multi.py were not working because of issues in the import on onion functions. Now they are working.
  • The code has also been improved in readability and brevity.

The way one hat to import every function is ugly, though. Maybe @andrewtarzia knows why the cleanest way (importing the needed function in the preamble) does not work. Anyway, I think it's better to PR the working code, so that people can use it, and then we make it cleaner if possible. Unless it's a quick fix.

The new code was tested by running the examples, which produced the correct output.
just fix and just check are also happy with the code.

@matteobecchi matteobecchi self-assigned this Nov 18, 2024
@matteobecchi matteobecchi added the bug Something isn't working label Nov 18, 2024
@matteobecchi matteobecchi marked this pull request as ready for review November 18, 2024 15:34
@matteobecchi matteobecchi marked this pull request as draft November 21, 2024 09:24
@matteobecchi matteobecchi marked this pull request as ready for review November 25, 2024 12:51
@andrewtarzia andrewtarzia merged commit b3a2de8 into GMPavanLab:main Nov 25, 2024
5 of 6 checks passed
@matteobecchi matteobecchi deleted the devel branch November 25, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants