PyPartMC
PyPartMC copied to clipboard
multi-mode dist modes are returned back in reverse order wrt the ctor input
Added a test here that will cause the issue: https://github.com/open-atmos/PyPartMC/pull/207/commits/bede72e68baf5909ffbb4170c862619d2bb6ee10
Looks like its sorting them in alphabetical order.
This is linked with a logic embedded in our JSON backend package: https://github.com/nlohmann/json#order-of-object-keys
There is already a workaround available there, but the pybind11_json bridge that we use does not support it yet.
Reported: https://github.com/pybind/pybind11_json/issues/63
Stale issue message
Stale issue message
Stale issue message
Stale issue message