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

Allow calling find_network with type (#200) #201

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

vpratz
Copy link
Collaborator

@vpratz vpratz commented Oct 9, 2024

  • in addition to strings, accept type (i.e., uninstantiated classes) as well
  • allows easy use of user-defined networks
  • adapt type hints to reflect this change

vpratz added 2 commits October 9, 2024 08:47
* in addition to strings, type (i.e., uninstantiated classes) are
  accepted as well

* allows easy use of user-defined networks
@codecov-commenter
Copy link

codecov-commenter commented Oct 9, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.

Project coverage is 52.16%. Comparing base (7fcb6ed) to head (e9189b3).

Files with missing lines Patch % Lines
bayesflow/utils/dispatch/find_network.py 50.00% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #201      +/-   ##
==========================================
- Coverage   52.16%   52.16%   -0.01%     
==========================================
  Files         142      142              
  Lines        3213     3217       +4     
==========================================
+ Hits         1676     1678       +2     
- Misses       1537     1539       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stefanradev93 stefanradev93 merged commit 81e74a9 into bayesflow-org:dev Oct 9, 2024
13 checks passed
@marvinschmitt
Copy link
Member

closes #200

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.

4 participants