diff --git a/AUTHORS b/AUTHORS index 5f86585..94d0c2b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -8,8 +8,8 @@ Tarek Hassan (thassan@ifae.es) Nathan Kelley-Koskins (nathan.kelley-hoskins@desy.de) Juergen Knoedlseder (jurgen.knodlseder@irap.omp.eu) Karl Kosack (karl.kosack@cea.fr) -Chia-Chun Lu (Chia-Chun.Lu@mpi-hd.mpg.de) Thierry Louge (thierry.louge@irap.omp.eu) +Chia-Chun Lu (Chia-Chun.Lu@mpi-hd.mpg.de) Pierrick Martin (pierrick.martin@irap.omp.eu) Michael Mayer (michael.mayer@physik.hu-berlin.de) Ellis Owen (Ellis.Owen@mpi-hd.mpg.de) diff --git a/pyext/GApplication.i b/pyext/GApplication.i index 383eb7e..1a6986e 100644 --- a/pyext/GApplication.i +++ b/pyext/GApplication.i @@ -120,12 +120,8 @@ public: par.filename(val); } else { - std::string msg = "Attempt to set \""+par.type()+ - "\" parameter \""+name+"\" with string " - "value."; - throw GException::invalid_argument("__setitem__(std::string, int)", - msg); - } + par.value(val); + } return; } GApplication copy() {