read_photons: Fix syntax