gem/oq-engine — pull request #1579 by micheles (2014-11-10 05:40:35+00:00)
Title: Check that the hazard calculation mode is consistent with risk calculation mode

This avoids a common problem when the user provide a wrong hazard calculation ID.
The tests are running here: https://ci.openquake.org/job/zdevel_oq-engine/805/