Commit History

Autor SHA1 Mensaxe Data
  Pietro Zambelli ca6a4c9f7f pygrass: back to a pickable Module instance %!s(int64=10) %!d(string=hai) anos
  Martin Landa 6ffbd1766d pygrass: fix debug level (0->1) %!s(int64=10) %!d(string=hai) anos
  Martin Landa 618f9d53cf fix https://trac.osgeo.org/grass/changeset/62349 (print full cmd) %!s(int64=10) %!d(string=hai) anos
  Martin Landa a793577cdb pygrass: Module.__call__() - print debug message %!s(int64=10) %!d(string=hai) anos
  Luca Delucchi d44a272461 lib python: documentation cleanup, fix sphinx warning %!s(int64=10) %!d(string=hai) anos
  Pietro Zambelli 1e4eda6464 pygrass: Return always the Module instance and rename max_num_procs to nprocs to be more consistent with other GRASS libraries %!s(int64=10) %!d(string=hai) anos
  Vaclav Petras 9b9cf7ae42 gunittest: handle process manually since pygrass would raise an exception (introduced in https://trac.osgeo.org/grass/changeset/61229, alternative would be to use try-except, SimpleModule doctest is failing), clean up some module calls (use SimpleModule), improve CalledModuleError creation in pygrass %!s(int64=10) %!d(string=hai) anos
  Pietro Zambelli f58fc60726 pygrass: Module class raise a CalledModuleError if return code is not 0, when user run a Module instance without asking to handle the process (therefore with finish_==True). %!s(int64=10) %!d(string=hai) anos
  Pietro Zambelli 89cdce1388 pygrass: Fix stdout and stderr %!s(int64=10) %!d(string=hai) anos
  Pietro Zambelli 69fecb8622 exceptions: Move exceptions from around the GRASS code to one place %!s(int64=10) %!d(string=hai) anos
  Pietro Zambelli 31da3c7ac4 pygrass: Move and add documentation %!s(int64=10) %!d(string=hai) anos
  Pietro Zambelli b24d7d3ec9 pygrass: Fix generated documentation for decorated __doc__ methods, for more details about the problem look: https://bitbucket.org/birkenfeld/sphinx/issue/1273/error-when-__doc__-is-a-property, thanks to Luca. %!s(int64=10) %!d(string=hai) anos
  Soeren Gebbert 74b57034d0 Fixed wrong stdout and stderr handling that result in an exception %!s(int64=10) %!d(string=hai) anos
  Soeren Gebbert af662d10e6 Added doctests to verify the handling of PIPE's for stdin, stdout and stderr. %!s(int64=10) %!d(string=hai) anos
  Luca Delucchi 9f963cb76f pygrass doc: several improvements to sphinx documentation %!s(int64=11) %!d(string=hai) anos
  Markus Neteler 569500e7f7 pygrass: fix error message %!s(int64=11) %!d(string=hai) anos
  Luca Delucchi 6f0a2742d9 update doctest for pygrass, some should be fixed. please check https://trac.osgeo.org/grass/ticket/2261 %!s(int64=11) %!d(string=hai) anos
  Hamish Bowman 6b1e2b4011 only read region, don't alter WIND file (https://trac.osgeo.org/grass/ticket/2230) %!s(int64=11) %!d(string=hai) anos
  Markus Metz 7a40149188 pygrass: restore python 2.6 compatibility %!s(int64=11) %!d(string=hai) anos
  Pietro Zambelli 99f2d2d2b1 Add the documentation of the GRASS module to the class Module. %!s(int64=11) %!d(string=hai) anos
  Pietro Zambelli c31d7c7fda Add support for python2 code and python3 %!s(int64=11) %!d(string=hai) anos
  Pietro Zambelli 3201b38841 Fix Popen using grass.script.core.Popen instead of subprocess.Popen %!s(int64=11) %!d(string=hai) anos
  Pietro Zambelli 6539e57a52 Revert fix for Popen on win platforms %!s(int64=11) %!d(string=hai) anos
  Anna Petrášová ce05097fd2 pygrass: fix launching modules - shell=True needed (see https://trac.osgeo.org/grass/ticket/2189) %!s(int64=11) %!d(string=hai) anos
  Pietro Zambelli 08a22ae624 Clarify the error message and add additional informations %!s(int64=11) %!d(string=hai) anos
  Pietro Zambelli 08f4e66cb4 Add execution time attribute to the class Module %!s(int64=11) %!d(string=hai) anos
  Pietro Zambelli c1580c29b0 Check required parameters only if run_ is True %!s(int64=11) %!d(string=hai) anos
  Soeren Gebbert 1d2153efce New process queue class to easily run grass.pygrass.modules.Module processes in parallel. %!s(int64=11) %!d(string=hai) anos
  Pietro Zambelli c6364d3c09 Skip special parameters %!s(int64=11) %!d(string=hai) anos
  Pietro Zambelli c0e4dd6d2b Fix the last test using deepcopy and neighbors %!s(int64=11) %!d(string=hai) anos