kdotp-symmetry icon indicating copy to clipboard operation
kdotp-symmetry copied to clipboard

example about TaAs2 occur errors

Open kaiqi-wang opened this issue 1 year ago • 1 comments

hello greschd, when I copy the example about TaAs2 in the websit of https://kdotp-symmetry.greschd.ch/en/latest/example.html , I met a error like this : image raise ShapeError("Matrix size mismatch: %s + %s" % ( sympy.matrices.common.ShapeError: Matrix size mismatch: (48, 16) + (16, 16)

what should I do ?

kaiqi-wang avatar Apr 22 '23 13:04 kaiqi-wang

Thanks for reporting this. It seems to be due to changes in the sympy release 1.7.

As a workaround, the limit-upper-versions branch contains dependencies limited to versions that still work, with Python 3.6. Except for sympy the limit may not be exact, i.e. a higher numpy or pymatgen or Python version may work, but needs testing.

I also haven't yet figured out which change in sympy is causing this incompatibility.

greschd avatar May 08 '23 20:05 greschd