Nature 450, 63–70 (2007); doi:10.1038/nature06292

corrigendum Nature 451, 102 (2008); doi:10.1038/nature06540

We have discovered that Figs 1, 2, 3 and 5 and Supplementary Figs 1–5 and 7 of this Article were generated from calcium imaging data that included a number of duplicated or mislabelled movie files. A full reanalysis of source files indicated that 163 of the 851 unique movie files (19%) were invalid. We have regenerated all figures using only valid movies, which changed the n values for many data points. 36/41 calcium imaging experiments were not significantly affected, and remained statistically robust after the reanalysis. The properties of AWCON, AIB and AIY neurons were fully supported, as were the effects of odours, mutations and most conditions. However, for 5/41 experiments the corrected n values included only two or three movies, so the conclusions should be considered preliminary. These results include a limited analysis of the AWCOFF sensory neurons (Fig. 2c–e) and two AIB neuron time points (Fig. 3c and d). The Supplementary Information to this Corrigendum shows corrected versions of all affected figures and the associated figures in the Supplementary Information of the original Article, using only valid movies, and a detailed list of re-analysed experiments with n values. We apologise for these errors.