only write conf_idx when not empty - prevent error from old HDF5 version
only write conf_idx when not empty - prevent error from old HDF5 version

warrenmcg/spladder,warrenmcg/spladder,warrenmcg/spladder,warrenmcg/spladder,warrenmcg/spladder