Hey Sergey,
is it possible to rename classes and functions on the Python side? This could generally be a very useful token to have in the config file, for instance in the form of:
rename Old_name_as_it_would_be_created_by_binder NewNiceName
or the like. In particular, I am having some weirdly named class template instances:
namespace genesis {
namespace utils {
namespace math {
template class CompensatedSum<KahanSummation>;
} // namespace math
} // namespace utils
} // namespace genesis
(The class uses tag dispatch on the Summation class to select which algorithm to use for the compensated sum.)
However, this gives me a Python class that includes the namespace for the template type:
CompensatedSum_genesis_utils_math_KahanSummation_t
(and a kind of weird _t at the end as well), and I'd like to give this a nicer name such as KahanSum.
Thanks and so long
Lucas
Hey Sergey,
is it possible to rename classes and functions on the Python side? This could generally be a very useful token to have in the config file, for instance in the form of:
or the like. In particular, I am having some weirdly named class template instances:
(The class uses tag dispatch on the
Summationclass to select which algorithm to use for the compensated sum.)However, this gives me a Python class that includes the namespace for the template type:
(and a kind of weird
_tat the end as well), and I'd like to give this a nicer name such asKahanSum.Thanks and so long
Lucas