In my calculation restart_mode="from_scratch" is always used. But I find if a calculation ends with error, it will give different errors depends on the whether the outdir is empty or not. So I wonder whether it affect the calculation results.