-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Formatting Logging Output for Simulation #1632
Formatting Logging Output for Simulation #1632
Conversation
Before a pull request is accepted, it must meet the following criteria:
|
Codecov Report
@@ Coverage Diff @@
## master #1632 +/- ##
==========================================
+ Coverage 61.84% 61.93% +0.08%
==========================================
Files 62 62
Lines 5713 5729 +16
==========================================
+ Hits 3533 3548 +15
- Misses 2180 2181 +1
Continue to review full report at Codecov.
|
7f7522d
to
9f24309
Compare
9f24309
to
c4a3864
Compare
00a5dda
to
18d31b1
Compare
Colour & other Formatting changes can be done for the Logging output. Discussion on the same needed 🚀 |
f5997e6
to
b768b3c
Compare
48fbaf8
to
be7adfe
Compare
Please make sure you have |
0876f29
to
475a4ae
Compare
fdd05d7
to
c8ee1ef
Compare
fc398f8
to
604cb7c
Compare
…onal checks for the environment using isinstance()
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.
This looks good now!
This is a draft right? it still contains the other PR stuff. |
5436457
to
0c92e1b
Compare
* Formatting Logging Output for Simulation runs via Notebook * Reverting removed import * Fixing decimal precision for luminosity values * Formatting changes for the Plasma Stratification values displayed * Allowing pandas dataframe to be displayed in Notebook as well as Terminal * Removing redundant pandas setting * Adding import for get_ipython() * Moving simulation environment checking to another PR & made appropriate changes * Added some more formatting changes to other logging messages for consistency * Renamed check_simulation_env() to is_notebook(), Added better conditional checks for the environment using isinstance() * Formatting changed for Simulation message about no of iterations & time taken * Added Tests for checking the logging done while running the simulation
This PR aims to change the Formatting of the current Logging done in the Notebook.
Implements decimal up to 3 places in Plasma Stratification values
Better formatted output for
luminosities
values as well ast_inner
valuesDescription
Some formatting changes have been done to the logging output for the simulation. Screenshots below differentiate the output, before & after the changes.
Motivation and context
Allows for a better, more digestible formatting for the logging output. Data is more readable & accessible to the User.
Screenshots
Original Logger Output:
New Formatted Logger Output:
Jupyter Notebook
Terminal
How has this been tested?
Type of change
Checklist