Porous materials called metal–organic frameworks hold promise for many applications, including molecular separations. One such material has been discovered that shape-shifts to amplify its selectivity ...