Magnetic properties of vacancies in graphene and single-walled carbon nanotubes | Synapse