Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Create a Git tag for the new version:

```bash
git checkout main
git pull
git tag X.Y.Z
git push origin X.Y.Z
```
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "bedrock-ge"
version = "0.3.2"
version = "0.3.3"
description = "Bedrock's Python library for geotechnical engineering."
authors = [
{name = "Bedrock", email = "[email protected]"}
Expand Down
2 changes: 1 addition & 1 deletion src/bedrock_ge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Bedrock, the open source foundation for ground engineering."""

__version__ = "0.3.2"
__version__ = "0.3.3"
2 changes: 1 addition & 1 deletion src/bedrock_ge/gi/mapping_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class LabTestTableMapping(OtherTable):
class BedrockGIMapping(BaseModel):
Project: ProjectTableMapping
Location: LocationTableMapping
InSitu: list[InSituTestTableMapping]
InSitu: list[InSituTestTableMapping] = []
Sample: Union[SampleTableMapping, None] = None
Lab: list[LabTestTableMapping] = []
Other: list[OtherTable] = []
2 changes: 1 addition & 1 deletion src/bedrock_ge/gi/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class InSituTestSchema(pa.DataFrameModel):
# foreign_key="location.location_uid"
)
depth_to_top: Optional[Series[float]] = pa.Field(nullable=True, coerce=True, ge=0)
depth_to_base: Optional[Series[float]] = pa.Field(nullable=True, coerce=True, gt=0)
depth_to_base: Optional[Series[float]] = pa.Field(nullable=True, coerce=True, ge=0)

# https://pandera.readthedocs.io/en/stable/dataframe_models.html#dataframe-checks
# Check depth column completeness such that either shapely.Point's or
Expand Down
Loading