-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix api #30
Conversation
I fixed the imports that relied on old API calls. The tests do not cover calls in notebooks so that's something to keep in mind. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me @jo-mueller . Furthermore, if you write closes #28
in your PR description, the issue 28 will be automatically closed when merging this PR. Try it out ;-)
Furthermore, if the code still works without that one line I mentioned. Feel free to merge. :-)
Fancy! I changed it further up 👍 |
Hi Johannes @jo-mueller, I just tested this branch and the subpackage way of calling works (ran files in tests folder). Direct calling indeed no longer works then. Just the last test (
Also a minor thing: some places I see |
Hi Marcelo @zoccoler , thanks for pointing this out. I changed the inputs accordingly. The errormessages are just warnings that are usually thrown in Feel free to merge this :) |
@zoccoler @haesleinhuepf , I fixed the conflicts with the main branch so I think this could be merged as well. |
Description
I changed function imports in init.py on subpackage level from
from subpackage import *
tofrom . import subpackage
. This forces the user to call function from a certain subpackage asbiau.subpackage.function(...)
, the callbiau.function(...)
wiill no longer work.Type of change
References
Closes #28
Tests
Final checks