These calculations were performed in the plane-wave DFT code CASTEP20, using the PBE 10 functional with Grimme D3 22 dispersion correction. The energy difference between the two disorder components was found to be just 1.94 kJ mol -1 per DMF molecule, which is small enough for both configurations to be present within the structure (ESI Section 4).