Closed ElliottKasoar closed 1 month ago
My concern with setting units for ASE kwargs is that we end up with a mix of unit conventions, since we're unlikely to explicitly convert every variable, and it's hard to inform users of specific things when it's a nested kwargs option.
I'm not sure if there's a nice solution?
Currently we mostly use bars, such as for NPT MD input and stats, and
scalar_pressure
for thegeomopt
CLI command.However, GPa is probably preferable, and we should check we're consistent with how/when units correctly set.
For example, geometry optimization via Python does not set units for
scalar_pressure
, but perhaps we should, particularly as this may be a kwarg passed from other CLI options e.g. phonons.