-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add custom source loading #278
Conversation
This pull request introduces 2 alerts when merging 828727b into b45d769 - view on LGTM.com new alerts:
|
This is going to be so useful :) |
This pull request introduces 1 alert when merging 5e74854 into b45d769 - view on LGTM.com new alerts:
|
Codecov Report
@@ Coverage Diff @@
## master #278 +/- ##
==========================================
+ Coverage 88.30% 88.49% +0.19%
==========================================
Files 27 28 +1
Lines 2026 2121 +95
==========================================
+ Hits 1789 1877 +88
- Misses 237 244 +7
Continue to review full report at Codecov.
|
This pull request introduces 3 alerts when merging 62ee2c9 into 6ba742b - view on LGTM.com new alerts:
|
This pull request fixes 1 alert when merging f10552d into 6ba742b - view on LGTM.com fixed alerts:
|
This PR enables adding a custom source file such as
.py
or.ipynb
file. The only requirements are as follows:mrun
is called. This is a limitation of the pathfinding that has to convert a module import command into a path__builder__
or__builders__
defined somewhere in the file. This is what gets loaded bymrun
to run.Addresses #277
Examples:
mrun -n 2 -v builder_test.py
mrun -n 2 -v builder_test.ipynb
mrun -n 2 -v main_builders.json builder_test.py