55 Commits

Author SHA1 Message Date
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
arnaud.morvan@camptocamp.com
c369710667 Calculate min coverage on execution 2016-09-04 17:58:17 +02:00
Alexander Bruy
40de15cc56 [processing] add missed CRS parameter to modeler (refs #11781) 2016-08-05 12:55:25 +03:00
rldhont
8592a7e3ac [Processing] Add shortHelp for Scripts, Models and R
And enhance getParameterDescriptions
2016-05-28 09:32:49 +02:00
rldhont
53089188d5 [BUGFIX][Processing] Add getParameterDescriptions to R, Model and Script algo 2016-05-26 16:53:10 +02:00
volaya
33fc3be15f [processing] separated alglist to its own module 2016-05-23 19:36:16 +02:00
volaya
e6b76c4d7b [processing] cleaning and restructuring
This fixes some design errors (mainly the ModelerUtils class, which is not needed anymore to hold a copy of algs and providers in order to avoid circular dependencies) and removes unused code
2016-05-23 19:34:25 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
rldhont
4a11a1a319 [Processing][Modeler] Use default value instead of None
In Modeler algorithm, when a algorithm's parameter was not defined it's value was set to None.
Before the possibility to defined optional parameters, None value is equal to set value to default one.
Now, it's important to use default value instead of None.
2016-04-27 10:13:56 +02:00
rldhont
e765bb6dd1 [Processing] Fix when iface is None 2016-04-20 14:52:46 +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
volaya
b3b41015a1 Merge pull request #2804 from Gustry/processing-error
[Bugfix] [Processing] Catch some python errors in batch mode
2016-03-03 13:15:30 +01:00
Alexander Bruy
317639f1e0 [processing] allow to use ParameterPoint in Graphical Modeler 2016-02-29 12:41:27 +02:00
Alexander Bruy
30a738f981 [processing] improve handling of the obsolete models (fix #14306) 2016-02-18 15:55:01 +02:00
Etienne Trimaille
3039f13ea9 improve error message in the modeler 2016-02-17 19:44:05 +01:00
volaya
f762380835 [processing] more checks before running model 2016-01-19 12:34:59 +01:00
Matthias Kuhn
4f2da483ac Indentation update 2015-12-15 16:24:12 +01:00
volaya
95b92c7960 [processing] correctly export multiline strings as python parameters from modeler
fixes #13830
2015-12-15 14:57:29 +01:00
Juergen E. Fischer
9a89408b72 indentation update 2015-11-10 20:21:10 +00:00
volaya
227af8ac8e [processing] brought back 'export model as python' functionality 2015-11-06 14:02:11 +01:00
volaya
09f87c952a [processing] remember params/outputs collapsed stated when editing alg in modeler
fixes #13499
2015-10-06 16:06:37 +02:00
volaya
1d67ce7ca7 [processing] fixed ordering of outputs in models
fixes #13217
2015-09-30 09:44:28 +02: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
Alexander Bruy
30dbd8fd5b [processing] drop resources.qrc and load images dynamically. Also remove
unused images
2015-05-19 15:30:25 +03:00
volaya
6fbb2d6c26 Merge pull request #1965 from radosuav/processing_models
[Processing]  Improve the robustness of models...
2015-05-06 14:34:42 +02:00
rldhont
f7e46ee59a Removing print from help method
I found a print in ModelerAlgorithm help method that causes some trouble
 for PyWPS-QGIS-Processing. I removed it.
2015-04-28 18:30:48 +02:00
radosuav
d1985b3d34 [Processing] Improve the robustness of models when the parameters in the included algorithms change 2015-03-25 17:46:30 +01: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
volaya
484e16254d [processing] fixed help in models 2014-11-23 14:04:06 +01:00
volaya
530b15a0e1 [processing] provide non-random default ordering of parameters in models
Fixes #11702
2014-11-21 07:21:47 +01:00
volaya
f661f80bdb [processing] fixed wrong call to self.tr from static method 2014-10-07 12:02:30 +02:00
Alexander Bruy
bd13693ae3 [processing] make bunch of strings translatable (sorry translators) 2014-10-04 11:36:39 +03:00
Alexander Bruy
f935316882 [processing] add full i18n support (still needs some work to mark all
strings as translatable)
2014-10-04 11:36:38 +03:00
volaya
1cd0c43f4f [processing] fixed how models read help info 2014-09-24 10:44:13 +02:00
volaya
887469643f [processing] added support for old model file format 2014-08-22 12:29:04 +02:00
volaya
8a2f1505d5 [processing] renamed Input and Output classes in modeler, to avoid confusion 2014-08-14 10:58:53 +02: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
Juergen E. Fischer
8871be0afa indentation update 2014-07-02 07:46:03 +02:00
Victor Olaya
05cfd69d13 [processing] overhaul of graphical modeler 2014-06-28 14:54:17 +02:00
Juergen E. Fischer
5b2824f788 indentation update 2014-05-21 22:18:59 +02:00
Victor Olaya
7f218c7295 [processing] fixes in modeler to make multiple inputs work correctly 2014-05-21 17:36:22 +02:00
Victor Olaya
1e4d6a9a73 [processing] fixed issue in modeler with hidden params 2014-05-21 17:36:14 +02:00
Victor Olaya
79757fabee [processing] some fixes in help system 2014-04-24 18:33:56 +02:00
Victor Olaya
bce5b899a2 [processing] improvements in help for algorithms
Avoid creating temporary helpfiles
Added basic converter to convert rst into html on the fly
Added SAGA help files
2014-04-19 20:49:18 +02:00
Juergen E. Fischer
ec0f0bea28 indentation update and a few fixed typos 2013-10-24 15:26:39 +02:00
Victor Olaya
0150fe7c98 [processing] minor bug fixes 2013-10-07 18:46:43 +02:00
Alexander Bruy
498a5d9ab8 [processing] code formatting, make sources more pep8 compliant 2013-10-02 16:24:10 +03:00
Victor Olaya
1517e58ae7 test models and scripts are now hidden 2013-09-21 12:48:20 +02:00