Get rid of `if 0:` and `if 1:` hacks
Checklist
-
The issue remains in the development version of ASE. -
An minimal example is provided to reproduce the issue.
Summary
There are several places throughout ASE with hacky if
statements like if 1:
and if 0:
. See this query for example. We should do things the right way.