Yann Lanthony
547e6c93b6
rename "types" to "common" to avoid name conflict
...
types is already a standard python package
2017-09-25 20:04:41 +02:00
Yann Lanthony
51a9b0e316
[graph] use 'types' module for data models and signals/slots
...
* store Nodes and Attributes in Models
* expose key attributes/methods as Properties/Slots
* update command line scripts
2017-09-25 19:14:19 +02:00
Yann Lanthony
4cd9627263
[tests] add basic tests for data models
2017-09-25 19:13:34 +02:00
Yann Lanthony
dd4db6ce0f
[types] new 'types' package
...
* define qt and core (standard python only) backends for types related to Qt data models handling and mechanisms (Slot, Signal...)
* allow to use the same code-base for UI apps with PySide or command line apps without
2017-09-25 19:13:25 +02:00
Yann Lanthony
82701e6555
[setup.py] remove extra 'pytest'
2017-09-25 19:07:22 +02:00
Fabien Castan
aca6024c0e
[statistics] legend needs to be called only once
2017-09-25 01:22:48 +02:00
Fabien Castan
83475d45ff
[processGraph] add process statistics and refactor statistics
...
* split between computer and process statistics
* split between static values and curves (varying values over time)
2017-09-24 23:09:21 +02:00
Fabien Castan
b06dfe2e68
[processGraph] Meshroom cache from env var
2017-09-24 23:06:01 +02:00
Fabien Castan
fe231518a6
[statistics] add amount of resources in figures title
2017-09-21 03:09:36 +02:00
Fabien Castan
8c8511c8ca
New "statistics" command line to print or export to html stats of computed nodes
2017-09-21 02:15:14 +02:00
Fabien Castan
c65e5cb182
[processGraph] don't need to wait for the end of the statistics thread
2017-09-21 02:13:48 +02:00
Fabien Castan
b7d906adb7
[processGraph] statistics in a separate file (no more inside status file)
2017-09-21 02:13:10 +02:00
Fabien Castan
3f001d46d8
[processGraph] check if already submitted
2017-09-20 02:22:17 +02:00
Fabien Castan
0b83121092
[processGraph] updateInternals is already called
2017-09-20 02:19:16 +02:00
Fabien Castan
2c844b1707
change cache folder name
2017-09-20 01:33:49 +02:00
Fabien Castan
1e17e77a28
Add a graph example
2017-09-20 01:33:48 +02:00
Fabien Castan
851ffa31f7
nodes: add first steps of the pipeline
2017-09-20 01:33:48 +02:00
Fabien Castan
889e0298eb
fix import paths
2017-09-20 01:33:48 +02:00
Fabien Castan
f54c765b30
processGraph: check return code of the subprocess
2017-09-20 01:04:23 +02:00
Fabien Castan
ff2a65685c
processGraph: is the value is empty, we do not add it to the command line
2017-09-20 01:04:23 +02:00
Fabien Castan
b7c22733f0
processGraph: declare cache folder earlier
2017-09-20 01:02:28 +02:00
Fabien Castan
48fdf3600f
newNodeType: add isOutput property
2017-09-20 01:02:28 +02:00
Fabien Castan
239164f913
newNodeType: use cache by default and fix commandLine naming
2017-09-20 01:02:28 +02:00
Fabien Castan
b2eeabb51d
newNodeType: fixes for cmdLineLib parser
2017-09-20 01:02:28 +02:00
Fabien Castan
99d36dabbc
newNodeType: fix quotes
2017-09-20 01:02:28 +02:00
Fabien Castan
f0d7c7ae80
newNodeType: skip help param
2017-09-20 01:02:28 +02:00
Fabien Castan
03d57a33c0
newNodeType: Fix convert to label
2017-09-20 01:02:28 +02:00
Fabien Castan
62b179ba0f
newNodeType: fix export
2017-09-20 01:00:41 +02:00
Yann Lanthony
150cc67458
[graph] missing os include
2017-09-19 12:16:40 +02:00
Yann Lanthony
807b4cb155
add setup.py + switch to pytest
...
* pytest: more modern and easy-to-use testing framework
2017-09-19 12:11:29 +02:00
Yann Lanthony
600c527221
fix error in variable name
2017-09-19 12:09:21 +02:00
Yann Lanthony
5bfb55ddd3
code formatting
...
* auto formatting based on pep8 recommendations
* """ for docstrings
2017-09-19 12:05:18 +02:00
Yann Lanthony
7e1a66663a
[graph] use shutil to rename status file
...
* os.rename does not work on Windows if destination already exists
2017-09-19 11:51:12 +02:00
Yann Lanthony
0485ce4738
[graph] fix nodes plugin import from folder path
2017-09-19 11:45:03 +02:00
Yann Lanthony
a758a47475
[graph] use cross-platform temp directory
2017-09-19 11:41:08 +02:00
Yann Lanthony
759458832c
[graph]fix errors on addNode methods
2017-09-19 11:40:30 +02:00
Yann Lanthony
7488de782c
reorder modules and packages
...
* meshroom package at root
* use pep8 recommandation for import orders
2017-09-19 11:38:28 +02:00
Yann Lanthony
9f176e6d78
cleanup gitignore
...
* remove unused entries
* added pycharm folders
2017-09-19 11:26:22 +02:00
Fabien Castan
c1bc9535d7
newNodeType: parse all parameters properly with multiple parsers
2017-09-19 03:49:56 +02:00
Fabien Castan
460a573292
Add shebang
2017-09-19 03:49:08 +02:00
Fabien Castan
97ab82b663
New status command line
2017-09-18 00:31:29 +02:00
Fabien Castan
096da0689d
Initial version
...
* plugins loader
* graph IO in json
* uid computation
* commandLine expression evaluation
* subprocess execution
* generate statistics
* export command logs to file
* save/load status file
* only compute nodes not previously computed
2017-09-18 00:31:29 +02:00
Fabien Castan
29729612f7
add gitignore
2017-09-17 13:15:31 +02:00
Fabien Castan
3ed2954181
Initial commit
2017-09-16 23:09:00 +02:00