def METHOD_NAME(self):
    """Calculate DisorderedAtom center of geometry."""
    with warnings.catch_warnings():
        warnings.simplefilter("ignore")
        s = self.parser.get_structure("b", "PDB/disordered.pdb")
    arg27 = s[0]["A"][27]
    # Detach all children but NH1
    for atom in list(arg27):
        if atom.name != "NH1":
            arg27.detach_child(atom.name)
    res_cog = arg27.center_of_mass()
    self.assertTrue(np.allclose(res_cog, [59.555, 21.033, 25.954], atol=1e-3))
    # Now compare to DisorderedAtom.center_of_mass
    da_cog = arg27["NH1"].center_of_mass()
    self.assertTrue(np.allclose(res_cog, da_cog, atol=1e-3))