CASMcode icon indicating copy to clipboard operation
CASMcode copied to clipboard

casm import seg faults when force value is empty (in properties.calc.json)

Open jli5373 opened this issue 1 year ago • 1 comments

In CASMv1.2.0, I'm running casm import (from properties.calc.jsons) and it seg faults when the properties.calc.json has an empty [] value for the force. I've attached the problematic properties.calc.json file in case there are other issues that I'm not noticing.

properties.calc.json.zip

jli5373 avatar Aug 30 '23 01:08 jli5373

Followup: Looks like casm import will also seg fault if you specify "primitive_only" : true in the settings and attempt to import a structure that can be primified. Not sure if this is expected behavior (as opposed to skipping the structure).

jli5373 avatar Sep 13 '23 02:09 jli5373