-
Notifications
You must be signed in to change notification settings - Fork 20
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 example to test srfit parallel #57
base: main
Are you sure you want to change the base?
Conversation
for recipe in recipe_list: | ||
recipe = fit_wrapper(recipe) | ||
res = FitResults(recipe) | ||
print(res.rw) |
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.
sequential test here
rv = p.map(fit_wrapper, recipe_list) | ||
for recipe in rv: | ||
res = FitResults(recipe) | ||
print(res.rw) |
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.
running in parallel
recipe.clearFitHooks() | ||
res = FitResults(recipe) | ||
print(res.rw) | ||
|
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.
print rw before refinement
Codecov Report
@@ Coverage Diff @@
## master #57 +/- ##
=======================================
Coverage 81.14% 81.14%
=======================================
Files 91 91
Lines 7577 7577
=======================================
Hits 6148 6148
Misses 1429 1429 Continue to review full report at Codecov.
|
@pavoljuhas This PR is just for the ease of sharing my test on this behavior, please feel free to close if needed.
Main result from this test: