PowerSpectrum
TensorMap can not be fully merged in a single block
#213
Labels
Python
Issues related to the Python API
When computing a descriptor with
PowerSpectrum
from two frames that have different atomtypes i.e one with only anH
and the other one only with anO
the result can not be densified.Consider the following example
which prints
The same happens when calling the
SOAPPowerSpectrum
leading to
For
SOAPPowerSpectrum
the error can be solved by changing the order ofkeys_to_properties
andkeys_to_samples
. ForPowerSpectrum
we can not do this because we already move the keys to properties within the computation to avoid nasty bookkeeping. However, it might be that we have to do this because I see no current way to solve this.Somebody has ideas?
The text was updated successfully, but these errors were encountered: