threedi-modelchecker 2.10.0.dev2__tar.gz → 2.10.0.dev4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {threedi_modelchecker-2.10.0.dev2/threedi_modelchecker.egg-info → threedi_modelchecker-2.10.0.dev4}/PKG-INFO +2 -2
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/pyproject.toml +1 -1
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/__init__.py +1 -1
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/config.py +1 -3
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/factories.py +3 -1
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4/threedi_modelchecker.egg-info}/PKG-INFO +2 -2
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker.egg-info/requires.txt +1 -1
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/CHANGES.rst +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/LICENSE +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/MANIFEST.in +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/README.rst +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/setup.cfg +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/__init__.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/base.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/cross_section_definitions.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/factories.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/geo_query.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/other.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/raster.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/timeseries.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/exporters.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/interfaces/__init__.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/interfaces/raster_interface.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/interfaces/raster_interface_gdal.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/interfaces/raster_interface_rasterio.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/model_checks.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/scripts.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/__init__.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/conftest.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/data/__init__.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/data/empty.gpkg +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/data/empty.sqlite +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_base.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_cross_section_definitions.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_factories.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_other.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_raster.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_timeseries.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_exporters.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_model_checks.py +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker.egg-info/SOURCES.txt +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker.egg-info/dependency_links.txt +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker.egg-info/entry_points.txt +0 -0
- {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: threedi-modelchecker
|
|
3
|
-
Version: 2.10.0.
|
|
3
|
+
Version: 2.10.0.dev4
|
|
4
4
|
Summary: Checks validity of a 3Di schematisation
|
|
5
5
|
Author-email: Nelen & Schuurmans <info@nelen-schuurmans.nl>
|
|
6
6
|
License: MIT
|
|
@@ -15,7 +15,7 @@ License-File: LICENSE
|
|
|
15
15
|
Requires-Dist: Click
|
|
16
16
|
Requires-Dist: GeoAlchemy2!=0.11.*,>=0.9
|
|
17
17
|
Requires-Dist: SQLAlchemy>=1.4
|
|
18
|
-
Requires-Dist: threedi-schema
|
|
18
|
+
Requires-Dist: threedi-schema<0.225.0,>=0.224.0.dev
|
|
19
19
|
Provides-Extra: rasterio
|
|
20
20
|
Requires-Dist: rasterio>=1.3.10; extra == "rasterio"
|
|
21
21
|
Provides-Extra: test
|
{threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/config.py
RENAMED
|
@@ -2566,7 +2566,6 @@ CHECKS += [
|
|
|
2566
2566
|
error_code=1220,
|
|
2567
2567
|
column=models.ControlMeasureLocation.object_id,
|
|
2568
2568
|
reference_column=models.ConnectionNode.id,
|
|
2569
|
-
filters=models.ControlMeasureLocation.object_type == "connection_node",
|
|
2570
2569
|
)
|
|
2571
2570
|
]
|
|
2572
2571
|
|
|
@@ -2617,7 +2616,7 @@ CHECKS += [
|
|
|
2617
2616
|
)
|
|
2618
2617
|
)
|
|
2619
2618
|
),
|
|
2620
|
-
message="
|
|
2619
|
+
message="control_measure_map.control_id references an id in memory_control or table_control, but the table it references does not contain an entry with that id.",
|
|
2621
2620
|
)
|
|
2622
2621
|
]
|
|
2623
2622
|
|
|
@@ -2644,7 +2643,6 @@ not_null_cols = [
|
|
|
2644
2643
|
models.ControlMeasureMap.weight,
|
|
2645
2644
|
models.ControlMeasureMap.control_measure_location_id,
|
|
2646
2645
|
models.ControlMeasureLocation.object_id,
|
|
2647
|
-
models.ControlMeasureLocation.object_type,
|
|
2648
2646
|
]
|
|
2649
2647
|
CHECKS += [
|
|
2650
2648
|
NotNullCheck(error_code=1230 + i, column=col) for i, col in enumerate(not_null_cols)
|
|
@@ -242,11 +242,12 @@ class ControlTableFactory(factory.alchemy.SQLAlchemyModelFactory):
|
|
|
242
242
|
sqlalchemy_session = None
|
|
243
243
|
|
|
244
244
|
action_type = constants.ControlTableActionTypes.set_discharge_coefficients
|
|
245
|
-
action_table = "0.0
|
|
245
|
+
action_table = "0.0,-1.0 2.0\n1.0,-1.1 2.1"
|
|
246
246
|
measure_operator = constants.MeasureOperators.greater_than
|
|
247
247
|
measure_variable = constants.MeasureVariables.waterlevel
|
|
248
248
|
target_type = constants.StructureControlTypes.channel
|
|
249
249
|
target_id = 10
|
|
250
|
+
geom = "SRID=4326;POINT(-71.064544 42.28787)"
|
|
250
251
|
|
|
251
252
|
|
|
252
253
|
class ControlMemoryFactory(factory.alchemy.SQLAlchemyModelFactory):
|
|
@@ -264,6 +265,7 @@ class ControlMemoryFactory(factory.alchemy.SQLAlchemyModelFactory):
|
|
|
264
265
|
is_active = True
|
|
265
266
|
upper_threshold = 1.0
|
|
266
267
|
lower_threshold = -1.0
|
|
268
|
+
geom = "SRID=4326;POINT(-71.064544 42.28787)"
|
|
267
269
|
|
|
268
270
|
|
|
269
271
|
class CulvertFactory(factory.alchemy.SQLAlchemyModelFactory):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: threedi-modelchecker
|
|
3
|
-
Version: 2.10.0.
|
|
3
|
+
Version: 2.10.0.dev4
|
|
4
4
|
Summary: Checks validity of a 3Di schematisation
|
|
5
5
|
Author-email: Nelen & Schuurmans <info@nelen-schuurmans.nl>
|
|
6
6
|
License: MIT
|
|
@@ -15,7 +15,7 @@ License-File: LICENSE
|
|
|
15
15
|
Requires-Dist: Click
|
|
16
16
|
Requires-Dist: GeoAlchemy2!=0.11.*,>=0.9
|
|
17
17
|
Requires-Dist: SQLAlchemy>=1.4
|
|
18
|
-
Requires-Dist: threedi-schema
|
|
18
|
+
Requires-Dist: threedi-schema<0.225.0,>=0.224.0.dev
|
|
19
19
|
Provides-Extra: rasterio
|
|
20
20
|
Requires-Dist: rasterio>=1.3.10; extra == "rasterio"
|
|
21
21
|
Provides-Extra: test
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|