diff --git a/python/target_selection/cartons/too.py b/python/target_selection/cartons/too.py index 6234e409..57a5cfa7 100644 --- a/python/target_selection/cartons/too.py +++ b/python/target_selection/cartons/too.py @@ -51,6 +51,10 @@ def build_query(self, version_id, query_region=None): ToO_Metadata.r_mag.alias("r"), ToO_Metadata.i_mag.alias("i"), ToO_Metadata.z_mag.alias("z"), + ToO_Metadata.gaia_bp_mag.alias("bp"), + ToO_Metadata.gaia_rp_mag.alias("rp"), + ToO_Metadata.gaia_g_mag.alias("gaia_g"), + ToO_Metadata.h_mag.alias("h"), ToO_Metadata.optical_prov, ) .join(C2TT, on=(ToO_Target.too_id == C2TT.target_id))