If you are not passing frac coordinates, you need to convert from cartesian to fractional coordinates, which is done by the "get_fractional_coords" method