Skip to content

Commit

Permalink
Apply prepare changes
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisbonneau authored and github-actions[bot] committed Nov 3, 2023
1 parent 017a9d4 commit e1e6c93
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bindings/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# pip-compile --pre bindings/python/requirements.in
#
opengeode-core==14.*,>=14.9.1
opengeode-core==14.*,>=14.9.3rc1
# via
# -r bindings/python/requirements.in
# opengeode-geosciences
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/src/inspector/topology/brep_topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ namespace geode
"unique_vertices_linked_to_a_single_and_invalid_line",
&BRepLinesTopologyInspectionResult::
unique_vertices_linked_to_a_single_and_invalid_line )
.def_readwrite(
"unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner",
.def_readwrite( "unique_vertices_linked_to_several_lines_but_not_"
"linked_to_a_corner",
&BRepLinesTopologyInspectionResult::
unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner );

Expand Down
4 changes: 2 additions & 2 deletions bindings/python/src/inspector/topology/section_topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ namespace geode
"unique_vertices_linked_to_a_single_and_invalid_line",
&SectionLinesInspectionResult::
unique_vertices_linked_to_a_single_and_invalid_line )
.def_readwrite(
"unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner",
.def_readwrite( "unique_vertices_linked_to_several_lines_but_not_"
"linked_to_a_corner",
&SectionLinesInspectionResult::
unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner );

Expand Down
6 changes: 4 additions & 2 deletions tests/inspector/test-brep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,12 @@ geode::index_t launch_topological_validity_checks(
.number(),
" vertices part of a unique line with invalid toplogy." );
nb_issues +=
result.lines.unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner
result.lines
.unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner
.number();
geode::Logger::info( "There are ",
result.lines.unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner
result.lines
.unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner
.number(),
" vertices part of multiple lines but not corner." );
nb_issues +=
Expand Down
12 changes: 8 additions & 4 deletions tests/inspector/test-section.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ unique_vertices_linked_to_a_single_and_invalid_line )
check_unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner(
geode::SectionInspector& section_inspector )
{
const auto unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner =
const auto
unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner =
section_inspector.unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner();
geode::Logger::info( "There are ",
unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner.size(),
Expand All @@ -238,7 +239,8 @@ check_unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner(
geode::Logger::warn( "[Test] Model unique vertex with index ",
vertex_index, " is part of multiple lines but is not a corner." );
}
return unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner.size();
return
unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner.size();
}*/

/*geode::index_t
Expand Down Expand Up @@ -330,10 +332,12 @@ geode::index_t launch_topological_validity_checks(
" vertices part of a unique line with invalid toplogy." );
( section_inspector );
nb_errors +=
result.lines.unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner
result.lines
.unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner
.number();
geode::Logger::info( "There are ",
result.lines.unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner
result.lines
.unique_vertices_linked_to_several_lines_but_not_linked_to_a_corner
.number(),
" vertices part of multiple lines but not corner." );
nb_errors +=
Expand Down

0 comments on commit e1e6c93

Please sign in to comment.