Skip to content

Commit 2bd903f

Browse files
author
Arthur Glowacki
committed
update pybind def
1 parent fca5c30 commit 2bd903f

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/pybindings/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ PYBIND11_MODULE(pyxrfmaps, m) {
259259
.def("width_multi", &data_struct::Fit_Element_Map<float>::width_multi)
260260
.def("set_as_pileup", &data_struct::Fit_Element_Map<float>::set_as_pileup)
261261
.def("pileup_element", &data_struct::Fit_Element_Map<float>::pileup_element)
262-
.def("shell_type_as_string", &data_struct::Fit_Element_Map<float>::shell_type_as_string)
262+
.def("shell_type", &data_struct::Fit_Element_Map<float>::shell_type)
263263
.def("check_binding_energy", &data_struct::Fit_Element_Map<float>::check_binding_energy);
264264

265265
py::class_<data_struct::Params_Override<float>>(m, "ParamsOverride")
@@ -325,7 +325,7 @@ PYBIND11_MODULE(pyxrfmaps, m) {
325325
{
326326
py::dict df;
327327
df["full_name"] = itr.second->full_name();
328-
df["shell_type"] = itr.second->shell_type_as_string();
328+
df["shell_type"] = itr.second->shell_type();
329329
df["center"] = itr.second->center();
330330
df["width"] = itr.second->width();
331331
df["symbol"] = itr.second->symbol();

src/support/eigen-git-mirror

Submodule eigen-git-mirror updated from e986838 to 6dbbf0a

src/support/pybind11

Submodule pybind11 updated 298 files

vcpkg

Submodule vcpkg updated 3537 files

0 commit comments

Comments
 (0)