diff --git a/bin/daily_stats.py b/bin/daily_stats.py index 7ab9a996..fe448fa0 100644 --- a/bin/daily_stats.py +++ b/bin/daily_stats.py @@ -108,7 +108,7 @@ def main(): out_dic['simbad_tot'] = n_simbad n_simbad_gal = df_sci.select('cdsxmatch')\ - .filter(df_sci['cdsxmatch'].isin(return_list_of_eg_host()))\ + .filter(df_sci['cdsxmatch'].isin(list(return_list_of_eg_host())))\ .count() out_dic['simbad_gal'] = n_simbad_gal