Pietro Zambelli
|
1e4eda6464
pygrass: Return always the Module instance and rename max_num_procs to nprocs to be more consistent with other GRASS libraries
|
10 年之前 |
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
|
10 年之前 |
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).
|
10 年之前 |
Pietro Zambelli
|
89cdce1388
pygrass: Fix stdout and stderr
|
10 年之前 |
Pietro Zambelli
|
69fecb8622
exceptions: Move exceptions from around the GRASS code to one place
|
10 年之前 |
Pietro Zambelli
|
31da3c7ac4
pygrass: Move and add documentation
|
10 年之前 |
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.
|
10 年之前 |
Soeren Gebbert
|
74b57034d0
Fixed wrong stdout and stderr handling that result in an exception
|
10 年之前 |
Soeren Gebbert
|
af662d10e6
Added doctests to verify the handling of PIPE's for stdin, stdout and stderr.
|
10 年之前 |
Luca Delucchi
|
9f963cb76f
pygrass doc: several improvements to sphinx documentation
|
11 年之前 |
Markus Neteler
|
569500e7f7
pygrass: fix error message
|
11 年之前 |
Luca Delucchi
|
6f0a2742d9
update doctest for pygrass, some should be fixed. please check https://trac.osgeo.org/grass/ticket/2261
|
11 年之前 |
Hamish Bowman
|
6b1e2b4011
only read region, don't alter WIND file (https://trac.osgeo.org/grass/ticket/2230)
|
11 年之前 |
Markus Metz
|
7a40149188
pygrass: restore python 2.6 compatibility
|
11 年之前 |
Pietro Zambelli
|
99f2d2d2b1
Add the documentation of the GRASS module to the class Module.
|
11 年之前 |
Pietro Zambelli
|
c31d7c7fda
Add support for python2 code and python3
|
11 年之前 |
Pietro Zambelli
|
3201b38841
Fix Popen using grass.script.core.Popen instead of subprocess.Popen
|
11 年之前 |
Pietro Zambelli
|
6539e57a52
Revert fix for Popen on win platforms
|
11 年之前 |
Anna Petrášová
|
ce05097fd2
pygrass: fix launching modules - shell=True needed (see https://trac.osgeo.org/grass/ticket/2189)
|
11 年之前 |
Pietro Zambelli
|
08a22ae624
Clarify the error message and add additional informations
|
11 年之前 |
Pietro Zambelli
|
08f4e66cb4
Add execution time attribute to the class Module
|
11 年之前 |
Pietro Zambelli
|
c1580c29b0
Check required parameters only if run_ is True
|
11 年之前 |
Soeren Gebbert
|
1d2153efce
New process queue class to easily run grass.pygrass.modules.Module processes in parallel.
|
11 年之前 |
Pietro Zambelli
|
c6364d3c09
Skip special parameters
|
11 年之前 |
Pietro Zambelli
|
c0e4dd6d2b
Fix the last test using deepcopy and neighbors
|
11 年之前 |
Soeren Gebbert
|
4adb6a0ce6
New test
|
11 年之前 |
Soeren Gebbert
|
0ea5a10797
Fixed floating point range value handling and command string creation. Added test.
|
11 年之前 |
Soeren Gebbert
|
afd05c1003
Dont wait for the process to terminate in case finish_==False
|
11 年之前 |
Pietro Zambelli
|
0a1706fd7d
Show the documentation of the special parameters available for the class Module
|
12 年之前 |
Pietro Zambelli
|
cd74fc4e1d
Split pygrass/modules/__init__ in smaller files
|
12 年之前 |