You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix for Task [1078](https://dev.azure.com/TDEI-UW/TDEI/_workitems/edit/1078)
- Added the functionality to stop processing further if there are 20 errors(default)
- max_errors can be passed as a parameter to validate function
- Added unit test cases
- Updated README.md
- Updated CHANGELOG.md
- Updated Package version
self.errors.append(f"All _u_id's in edges should be part of _id's mentioned in nodes, _u_id's not in nodes are: {unmatched}")
108
+
self.errors.append(
109
+
f"All _u_id's in edges should be part of _id's mentioned in nodes, _u_id's not in nodes are: {unmatched}")
107
110
108
111
# Do all node references in _v_id exist in nodes?
109
112
unmatched=node_ids_edges_v-node_ids
110
113
is_valid=len(unmatched) ==0
111
114
ifnotis_valid:
112
-
self.errors.append(f"All _v_id's in edges should be part of _id's mentioned in nodes, _v_id's not in nodes are: {unmatched}")
115
+
self.errors.append(
116
+
f"All _v_id's in edges should be part of _id's mentioned in nodes, _v_id's not in nodes are: {unmatched}")
113
117
114
118
# Do all node references in _w_id exist in nodes?
115
119
unmatched=node_ids_zones_w-node_ids
116
120
is_valid=len(unmatched) ==0
117
121
ifnotis_valid:
118
-
self.errors.append(f"All _w_id's in zones should be part of _id's mentioned in nodes, _w_id's not in nodes are: {unmatched}")
122
+
self.errors.append(
123
+
f"All _w_id's in zones should be part of _id's mentioned in nodes, _w_id's not in nodes are: {unmatched}")
119
124
120
125
# Geometry validation: check geometry type in each file and test if coordinates make a shape that is reasonable geometric shape according to the Simple Feature Access standard
0 commit comments