[generic_input]: Fix bug in check for atom index error
[generic_input]: Fix bug in check for atom index error
chrisdjscott/Atoman,chrisdjscott/Atoman,chrisdjscott/Atoman,chrisdjscott/Atoman,chrisdjscott/Atoman