cctbx / dxtbx

Diffraction Experiment Toolbox
BSD 3-Clause "New" or "Revised" License
2 stars 12 forks source link

Fix Scan.get_property key type. #734

Closed toastisme closed 2 months ago

toastisme commented 2 months ago

The key type in Scan.get_property was not properly defined, and so it couldn't be used easily from C++. This fixes it so you can do Scan.get_property<T>("property_key") at the C++ level, as you can already in Python.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 41.73%. Comparing base (2732092) to head (24033fa).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #734 +/- ## ======================================= Coverage 41.73% 41.73% ======================================= Files 187 187 Lines 16857 16857 Branches 3226 3226 ======================================= Hits 7035 7035 Misses 9173 9173 Partials 649 649 ```