daniel-muthukrishna / astrorapid

Real-time Automated Photometric IDentification (RAPID) of astronomical transients using deep learning
https://astrorapid.readthedocs.io
MIT License
15 stars 14 forks source link

Plotting key error #4

Open kdettman opened 4 years ago

kdettman commented 4 years ago

After running the get_predictions method, which seems to have executed successfully, I attempt to plot the predictions with the plot_light_curves_and_classifications method. In doing so I get KeyError: 'g' originating on line 266 of classify.py; new_t = np.array([self.orig_lc[idx][pb]['time'].values for pb in self.passbands]).flatten()