Skip to content

Conversation

@ayushman1210
Copy link
Contributor

@ayushman1210 ayushman1210 commented Jan 6, 2026

Change: Added a fail-fast check in validateContext() that logs an error and exits when ctx.microbes is true.

fixes:#207

- Remove MICROBES metadata from context initialization
- Remove microbes field from struct Context
- Remove --microbes CLI flag and all related options
- Remove microbe-specific parameter initializations (efficiency, maxIngestionRate, etc.)
- Remove calcMicrobeFluxes() function and always use calcSoilMaintRespiration()
- Simplify updatePoolsForSoil() to remove microbe pool updates
- Remove microbe initialization from setupModel()
- Always set microbePulseEff = 0 (direct exudation to soil)
- Fix NULL pointer check in frontend.c (clang-tidy warning)
- Update documentation to remove MICROBES option references
- Run clang-format, clang-tidy, and prettier on modified files

BREAKING CHANGE: MICROBES option is no longer supported or recognized.
The model now always uses the non-microbes pathway for soil respiration.
Remove all microbe-specific parameters from smoke test parameter files
since MICROBES feature has been deprecated and removed from the codebase.
This allows smoke tests to run without 'unknown parameter' warnings.
- Remove MICROBES configuration line from sipnet.in files
- Remove MICROBES entries from sipnet.config reference files
- These changes reflect the complete removal of the MICROBES feature
@ayushman1210 ayushman1210 deleted the fix_microbes_remove branch January 7, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants