Skip to content

Updated make_bedrock.py architecture#80

Merged
ghislainp merged 3 commits intosmrt-model:masterfrom
hexxawax:make_bedrock_PR
Mar 26, 2026
Merged

Updated make_bedrock.py architecture#80
ghislainp merged 3 commits intosmrt-model:masterfrom
hexxawax:make_bedrock_PR

Conversation

@hexxawax
Copy link
Copy Markdown
Contributor

@hexxawax hexxawax commented Feb 6, 2026

Hello,
I updated the make_bedrock.py file to mimic the latest change in make_soil.py
Bedrocks permittivity are moved to permittivity/bedrock.py file.
make_bedrock function is updated in consequence.

Tell me if it is ok

bedrock permittivities are moved to a permittivity/bedrock.py file
make_bedrock function is updated
@hexxawax
Copy link
Copy Markdown
Contributor Author

hexxawax commented Feb 6, 2026

Additionally the DeprecationWarning are not showing for me.
I don't know if it's normal

@ghislainp
Copy link
Copy Markdown
Member

as discussed, we'll use make_soil to work with bedrock permittivity. Could you remove completely the make_bedrock function, and run the tests. pytest is currently failing

hexxawax and others added 2 commits March 5, 2026 11:00
Unified soil and bedrock creation by mergind make_bedrock into make_soil
Removed make_bedrock function
Bedrock permittivities are now accessible to the make_soil function
Creation of resolve_make_soil_permittivity_model helper function to
acces correct permittivity model
Updated make_soil tests
@hexxawax
Copy link
Copy Markdown
Contributor Author

hexxawax commented Mar 5, 2026

I removed completely make_bedrock, updated make_soil tests
make_soil can now be used to create bedrocks

@ghislainp ghislainp merged commit 0bae70e into smrt-model:master Mar 26, 2026
7 checks passed
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