Nyall Dawson
189f804714
Adapt more code to c++ API
2017-06-06 07:41:19 +10:00
Nyall Dawson
fb811766f8
Add framework for algorithm outputs
...
This somewhat changes the meaning of outputs from processing 2.x.
In 2.x processing outputs were used both as a method of specifying
inputs to algorithms (file paths to destination layers created
by the algorithm) AND pure outputs (such as statistics calculated
by the algorithm).
This is now split. The old input-type-outputs (destination layers)
are now input parameters (since the parameter value IS an input to the
algorithm). To differentiate them from parameters indicating pure
input layers a new "isDestination()" method was added to
QgsProcessingParameterDefinition.
Output definitions are now purely indications of values CREATED
by the algorithms. Suitable candidates are the existing calculated
stats and actual file path/URI of any layers created by the algorithm.
Moving forward we should ensure all algorithms output as much
useful information as possible - e.g. number of features processed,
number of skipped features, count null geometries encountered, etc...
2017-06-06 07:41:19 +10:00
Nyall Dawson
4970bb4cd5
Move more algList functionality to QgsProcessingRegistry
2017-04-07 13:21:28 +10:00
Alexander Bruy
1a46ddbf28
[processing][API] rename runalg() and runandload() to improve
...
readability
2017-03-22 19:17:12 +02:00
Nyall Dawson
38a0ea0844
Small tweaks to processing split algorithm, add tests
2016-11-24 08:48:37 +10:00
Nyall Dawson
69e8e4a3c2
[processing] Allow alg tests to use ParameterTable inputs
2016-11-24 07:52:17 +10:00
Alexander Bruy
45a84419ff
[processing] show error message instead of Python error if output raster is temp output and test can not be created
2016-10-06 15:57:13 +03:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Médéric RIBREUX
bb94a179a9
Add new test data and a bunch of unit tests
2016-06-12 17:36:42 +02:00
Médéric RIBREUX
b951c94746
Handle OutputFile in test generation
2016-06-12 14:46:42 +02:00
Médéric RIBREUX
0cd4498658
Improve Test generation
2016-06-12 14:23:09 +02:00
Médéric RIBREUX
ec6b29aa8c
Remove NaN values from raster before hash calculation
2016-05-29 09:00:16 +02:00
Médéric Ribreux
48d45fbd22
Fix multiple input parameter type detection for graphical unit test generator
2016-05-29 09:00:16 +02:00
Médéric Ribreux
222935b45f
Expand external file support to graphical unit test generator
2016-05-29 09:00:16 +02:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
Juergen E. Fischer
2526d3e3c8
processing: switch to pyqt wrappers, flake8 fixes
2016-03-21 17:00:25 +01:00
Juergen E. Fischer
c6d921729e
python fixes:
...
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
python/console/console_sci.py:547 QsciScintillaCompat?
python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Matthias Kuhn
0e690fc701
[processing tests] Fix test generation parameter types
2016-03-15 11:08:46 +01:00
Matthias Kuhn
911196811c
[processing] TestGenerator: Create parameters as dict
2016-02-23 09:33:41 +01:00
Matthias Kuhn
23802eb5b7
Add file comparison for HTML output to processing test generator
...
Refs #14311
2016-02-21 13:16:59 +01:00
Matthias Kuhn
f0629ea5a9
[processing] Allow test creation from history window
2016-02-04 13:36:43 +01:00
Juergen E. Fischer
b39055b39c
indentation update (now including autopep8)
2015-08-22 14:29:41 +02:00
Matthias Kuhn
9fc1b48bf3
Replace str() with unicode() and some PEP 8
2015-08-16 20:58:43 +02:00
Juergen E. Fischer
956c155e8f
fix python pep8 warnings and fix some revealed errors
...
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
--exclude="ui_*.py,debian/*,python/ext-libs/*" \
.
2015-02-01 20:46:47 +01:00
Alexander Bruy
bd13693ae3
[processing] make bunch of strings translatable (sorry translators)
2014-10-04 11:36:39 +03:00
volaya
6486594f57
[Processing] Refactoring of parameters and outputs
...
It also adds some changes in the core and tools package, to provide a cleaner structure
2014-07-14 14:47:05 +02:00
Alexander Bruy
498a5d9ab8
[processing] code formatting, make sources more pep8 compliant
2013-10-02 16:24:10 +03:00
Victor Olaya
807ffaa5e6
[processing] refactoring to move common functions to tools package
2013-09-14 13:26:41 +02:00
Victor Olaya
9bb3d6eb6b
renamed "sextante" to "processing"
2013-08-20 09:22:03 +02:00