Closed bfocassio closed 3 years ago
Hi @bfocassio,
I would be happy to take a look at this issue. The error suggests a problem serializing complex
(number) datatypes, which is handled by the monty
package. This package does support complex
datatypes as of v3.0.4, so it should be working. I suspect there will be a straight forward fix.
Could you provide an example (eg input files and the command you're running)? And also verify which version of monty
you have installed?
@mkhorton as you suggested, everything works just fine with version v2021.8.17 of monty
. I tested the Bi-hoti example.
Thank you very much.
Glad it worked out!
Dear all,
I'm using irrep 1.6.0 from the cli. Everything runs fine as it should up o the end when the code tries to dumps the output as a .json file. The code throws the following error:
By inspecting the
characters
andcharacters_refUC
keys inside thejson_data
dict, complex numbers need to be encoded.