Skip to content

Commit

Permalink
Temporarily remove masking geometry warnings
Browse files Browse the repository at this point in the history
See #671. In some cases this has started giving (apparently harmless)
spam output. We are disabling temporarily while a workshop is running.
  • Loading branch information
ndevenish committed Nov 24, 2023
1 parent 31f73a5 commit fa004b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions newsfragments/XXX.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Temporarily disable verbose masking geometry warning.
6 changes: 3 additions & 3 deletions src/dxtbx/masking/goniometer_shadow_masking.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ namespace dxtbx { namespace masking {
}
}
if (!valid) {
std::cout << "Invalid polygon geometry (" << failure
<< "): " << boost::geometry::dsv(poly) << std::endl;
std::cout << boost::geometry::dsv(points) << std::endl;
// std::cout << "Invalid polygon geometry (" << failure
// << "): " << boost::geometry::dsv(poly) << std::endl;
// std::cout << boost::geometry::dsv(points) << std::endl;
result.push_back(shadow_points);
continue;
}
Expand Down

0 comments on commit fa004b2

Please sign in to comment.