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.
Files changed (44) hide show
  1. {threedi_modelchecker-2.10.0.dev2/threedi_modelchecker.egg-info → threedi_modelchecker-2.10.0.dev4}/PKG-INFO +2 -2
  2. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/pyproject.toml +1 -1
  3. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/__init__.py +1 -1
  4. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/config.py +1 -3
  5. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/factories.py +3 -1
  6. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4/threedi_modelchecker.egg-info}/PKG-INFO +2 -2
  7. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker.egg-info/requires.txt +1 -1
  8. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/CHANGES.rst +0 -0
  9. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/LICENSE +0 -0
  10. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/MANIFEST.in +0 -0
  11. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/README.rst +0 -0
  12. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/setup.cfg +0 -0
  13. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/__init__.py +0 -0
  14. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/base.py +0 -0
  15. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/cross_section_definitions.py +0 -0
  16. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/factories.py +0 -0
  17. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/geo_query.py +0 -0
  18. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/other.py +0 -0
  19. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/raster.py +0 -0
  20. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/checks/timeseries.py +0 -0
  21. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/exporters.py +0 -0
  22. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/interfaces/__init__.py +0 -0
  23. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/interfaces/raster_interface.py +0 -0
  24. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/interfaces/raster_interface_gdal.py +0 -0
  25. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/interfaces/raster_interface_rasterio.py +0 -0
  26. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/model_checks.py +0 -0
  27. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/scripts.py +0 -0
  28. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/__init__.py +0 -0
  29. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/conftest.py +0 -0
  30. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/data/__init__.py +0 -0
  31. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/data/empty.gpkg +0 -0
  32. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/data/empty.sqlite +0 -0
  33. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_base.py +0 -0
  34. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_cross_section_definitions.py +0 -0
  35. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_factories.py +0 -0
  36. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_other.py +0 -0
  37. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_raster.py +0 -0
  38. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_checks_timeseries.py +0 -0
  39. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_exporters.py +0 -0
  40. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker/tests/test_model_checks.py +0 -0
  41. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker.egg-info/SOURCES.txt +0 -0
  42. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker.egg-info/dependency_links.txt +0 -0
  43. {threedi_modelchecker-2.10.0.dev2 → threedi_modelchecker-2.10.0.dev4}/threedi_modelchecker.egg-info/entry_points.txt +0 -0
  44. {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.dev2
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==0.224.0.dev2
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
@@ -19,7 +19,7 @@ dependencies = [
19
19
  "Click",
20
20
  "GeoAlchemy2>=0.9,!=0.11.*",
21
21
  "SQLAlchemy>=1.4",
22
- "threedi-schema==0.224.0.dev2"
22
+ "threedi-schema>=0.224.0.dev,<0.225.0"
23
23
  ]
24
24
 
25
25
  [project.optional-dependencies]
@@ -1,5 +1,5 @@
1
1
  from .model_checks import * # NOQA
2
2
 
3
3
  # fmt: off
4
- __version__ = '2.10.0.dev2'
4
+ __version__ = '2.10.0.dev4'
5
5
  # fmt: on
@@ -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="v2_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.",
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;-1.0;2.0#1.0;-1.1;2.1"
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.dev2
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==0.224.0.dev2
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
@@ -1,7 +1,7 @@
1
1
  Click
2
2
  GeoAlchemy2!=0.11.*,>=0.9
3
3
  SQLAlchemy>=1.4
4
- threedi-schema==0.224.0.dev2
4
+ threedi-schema<0.225.0,>=0.224.0.dev
5
5
 
6
6
  [rasterio]
7
7
  rasterio>=1.3.10