From f462ad826d7a461eb351568a9b63b03f1e2b354f Mon Sep 17 00:00:00 2001 From: seshasaibehara Date: Tue, 30 Jul 2024 11:59:43 -0700 Subject: [PATCH] default properties arg for xtal.AtomComponent --- python/src/xtal.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/src/xtal.cpp b/python/src/xtal.cpp index eef9630..8aea9a2 100644 --- a/python/src/xtal.cpp +++ b/python/src/xtal.cpp @@ -1592,7 +1592,9 @@ PYBIND11_MODULE(_xtal, m) { An atomic component of a molecular :class:`Occupant` )pbdoc") .def(py::init(&make_atom_position), py::arg("name"), - py::arg("coordinate"), py::arg("properties"), R"pbdoc( + py::arg("coordinate"), + py::arg("properties") = std::map{}, + R"pbdoc( .. rubric:: Constructor