Molecular discovery of half-metallic one-dimensional metal-organic framework