-
Notifications
You must be signed in to change notification settings - Fork 18
1324 Direclty print output from print_table in python #1325
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
base: main
Are you sure you want to change the base?
1324 Direclty print output from print_table in python #1325
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1325 +/- ##
==========================================
+ Coverage 97.37% 97.40% +0.02%
==========================================
Files 174 174
Lines 15024 15154 +130
==========================================
+ Hits 14630 14760 +130
Misses 394 394 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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 to string needs to be adjusted
pycode/memilio-simulation/memilio/simulation/bindings/utils/time_series.cpp
Show resolved
Hide resolved
pycode/memilio-simulation/memilio/simulation/bindings/utils/time_series.cpp
Outdated
Show resolved
Hide resolved
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.
Final changes in example, else ready to merge
@@ -70,8 +70,8 @@ def run_ode_seir_flows_simulation(): | |||
# Run flow simulation | |||
(result, flows) = simulate_flows(0, days, dt, model) | |||
|
|||
print(result.print_table(["S", "E", "I", "R"], 16, 5)) | |||
print(flows.print_table(["S->E", "E->I", "I->R"], 16, 5)) | |||
result.print_table(["S", "E", "I", "R"], 16, 5) |
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.
result.print_table(["S", "E", "I", "R"], 16, 5) | |
result.print_table(False, ["S", "E", "I", "R"], 16, 5) |
print(result.print_table(["S", "E", "I", "R"], 16, 5)) | ||
print(flows.print_table(["S->E", "E->I", "I->R"], 16, 5)) | ||
result.print_table(["S", "E", "I", "R"], 16, 5) | ||
flows.print_table(["S->E", "E->I", "I->R"], 16, 5) |
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.
flows.print_table(["S->E", "E->I", "I->R"], 16, 5) | |
flows.print_table(False, ["S->E", "E->I", "I->R"], 16, 5) |
Changes and Information
Please briefly list the changes (main added features, changed items, or corrected bugs) made:
If need be, add additional information and what the reviewer should look out for in particular:
Merge Request - Guideline Checklist
Please check our git workflow. Use the draft feature if the Pull Request is not yet ready to review.
Checks by code author
Checks by code reviewer(s)