Skip to content

delete the check isinstance(calc, BaseCalculator) in the Mixer class

Axel Forslund requested to merge axefor/ase:axefor-master-patch-81958 into master

delete the check isinstance(calc, BaseCalculator) for more pythonic duck typing, also more consistent with e.g. setting atoms.calc = calc. The init method still requires an implemented_properties attribute, so e.g. the asap EMT still does not work yet

Checklist

Edited by Axel Forslund

Merge request reports