Correction to: Nature Communications https://doi.org/10.1038/s41467-019-12114-8, published online 16 September 2019

In the version of the article initially published, due to an error in file preparation, the SEM image shown for MOF-5 was a duplicate of the image for Mg-MOF74 in Fig. 2g. A revised Fig. 2 appears below as Fig. 1, and updated Source Data are available alongside this amendment. The original timestamps with date and time of acquisition can be seen at the bottom of each SEM image in the Source Data file. Due to its age, the article cannot be updated directly; this amendment serves to correct the article.

Fig. 1 Corrected Fig. 2