-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fixed some show
methods
#156
Conversation
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.
Some doctests are failing.
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.
lgtm
We dropped showing "Optional components" and "Sinking velocities" from model's show methods? |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #156 +/- ##
==========================================
- Coverage 65.84% 64.18% -1.66%
==========================================
Files 27 27
Lines 1054 1061 +7
==========================================
- Hits 694 681 -13
- Misses 360 380 +20
☔ View full report in Codecov by Sentry. |
Where is this? It still shows them here: OceanBioME.jl/src/Models/AdvectedPopulations/LOBSTER/LOBSTER.jl Lines 430 to 435 in c6e098f
|
E.g., look at the changes in |
Ah I see, that's because there julia> bgc_model
Lodyc-DAMTP Ocean Biogeochemical Simulation Tools for Ecosystem and Resources (LOBSTER) model (Float64)
Light attenuation: Two-band light attenuation model (Float64)
Sediment: Nothing
Particles: Nothing
julia> bgc_model.underlying_biogeochemistry
Lodyc-DAMTP Ocean Biogeochemical Simulation Tools for Ecosystem and Resources (LOBSTER) model (Float64)
Optional components:
├── Carbonates ✅
├── Oxygen ❌
└── Variable Redfield Ratio ❌
Sinking Velocities:
├── sPOM: 0.0 to -3.47e-5 m/s
└── bPOM: 0.0 to -0.0023148148148148147 m/s Perhaps the summary should include slightly more information? I could change it so the summary includes:
But then it is quite long. I don't think we really need the sinking velocities in the summary since the details are a lot less important. |
I think it’s fine. Just wanted to ensure it wasn’t by accident. Merge at your convenience. |
… `Biogeochemistry` `show`
Ah thank you, just saw this and have changed them a bit so will need to update docstrings |
When I went to update Oceananigans I found these changes I made so thought we might as well merge them first too.