Commit ed864a4023d6895ab0f40520bf2d1ceb9067d2e1

Authored by Jürgen Knödlseder
1 parent 827a8ffd

Throw exception if counts cube is given in ctskymap.

Showing 1 changed file with 3 additions and 0 deletions
src/ctskymap/ctskymap.cpp
... ... @@ -347,6 +347,9 @@ void ctskymap::get_parameters(void)
347 347 // Throw exception if no input observation file is given
348 348 require_inobs(G_GET_PARAMETERS);
349 349  
  350 + // Throw exception if counts cube is given
  351 + require_inobs_nocube(G_GET_PARAMETERS);
  352 +
350 353 // Get observation container without response (not needed)
351 354 m_obs = get_observations(false);
352 355  
... ...