Commit graph

137 commits

Author SHA1 Message Date
Fabien Castan
6f2ea4c8ef [core] support killed job
* add KILLED status
* register atexit function to update the status of running nodes to
KILLED
2017-10-27 11:24:12 +02:00
Fabien Castan
99ec7ab386 [doc] cosmetic 2017-10-26 18:47:27 +02:00
Fabien Castan
486d1081c8 [core] if rez is in env use it for command line creation 2017-10-26 18:47:01 +02:00
Fabien Castan
0b0ef01997 [core] add package and package version notion 2017-10-26 18:02:28 +02:00
Fabien Castan
40974149ee [core] cache directory per graph 2017-10-26 12:22:06 +02:00
Fabien Castan
e533c588dd [core] graph: add the notion of flowEdges and minMaxDepthPerNode
- flowEdges: Compute a transitive reduction of the graph to provide
node-level minimal dependencies to create an execution workflow for
renderfarm.
- minMaxDepthPerNode: compute the min and max depth per node
2017-10-24 20:22:39 +02:00
Fabien Castan
5d8771f07e [core] graph: retrieve nodes and edges at the same time 2017-10-24 20:19:24 +02:00
Yann Lanthony
61ade5bfa7 [graph] simplify methods related to Attribute values and links 2017-10-24 19:02:38 +02:00
Yann Lanthony
75ddea0329 [graph] expose Attribute's description type as a property 2017-10-23 19:55:33 +02:00
Yann Lanthony
05be8932ca [graph] fix call to property nodeType 2017-10-23 19:55:33 +02:00
Yann Lanthony
e42e04fd9d [graph] handle ListAttribute and GroupAttribute 2017-10-23 19:55:33 +02:00
Yann Lanthony
1e306f8408 rename Model to DictModel + augment API
* add "update" and "reset" methods
* core: no more default keyAttrName
* qt: if keyAttrName is empty, don't register items in internal dictionnary
2017-10-23 19:54:55 +02:00
Yann Lanthony
9c7d0c1b1c [desc] Attribute inherits BaseObject and expose members as properties
* also expose graph.Attribute's desc as a property
* introduce Variant in data structure backend API
2017-10-23 15:07:09 +02:00
Yann Lanthony
473141ebed [core] fix graph file loading
Only resolve attribute expressions (containing edges description) once all nodes have been created
2017-10-23 14:33:42 +02:00
Yann Lanthony
7f78fac119 [core] add Graph.attribute method
shortcut to get an attribute from its fullname
2017-10-19 17:45:02 +02:00
Yann Lanthony
925d2e71f6 [core] turn Node.nodeType into a property 2017-10-19 17:35:32 +02:00
Fabien Castan
48e3e4cfa1 Merge branch 'dev_processGraph' of https://github.com/alicevision/meshroom into dev_processGraph 2017-10-19 12:30:48 +02:00
Fabien Castan
76fad411a4 [core] support for non-exclusive choice params 2017-10-19 12:26:31 +02:00
Yann Lanthony
e49fdf457c [core] reset status of submitted nodes when a node computation fails
* catch Exception and stop graph execution
* report error using logging.error
* misc: fix indentation issues
2017-10-17 16:53:52 +02:00
Yann Lanthony
fd0c209837 [commands] only re-create out edges when undoing RemoveNode
"in" edges are automatically recreated since serialized as a connection expression in Node's dict representation and resolved by addNode
2017-10-17 16:32:57 +02:00
Fabien Castan
977a6b1507 [core] fix indent 2017-10-16 19:56:58 +02:00
Fabien Castan
6e270ad6a9 Use imageMatching node in the multiview pipeline 2017-10-16 18:18:35 +02:00
Yann Lanthony
ce6925117a [core] fix node depth computation 2017-10-16 15:30:13 +02:00
Fabien Castan
fd1b9f2cea Merge branch 'dev_processGraph' of https://github.com/alicevision/meshroom into dev_processGraph
Conflicts:
	meshroom/core/graph.py
2017-10-16 12:30:15 +02:00
Fabien Castan
0655d1b7d1 [bin] add toNode argument with partial name support 2017-10-16 12:24:02 +02:00
Fabien Castan
18d2e4bd39 [core] Node: add missing initialization in constructor 2017-10-16 12:24:02 +02:00
Fabien Castan
c291e0d6bf [core] process: change output formatting and add a timer 2017-10-16 12:24:01 +02:00
Fabien Castan
3ca3a794fe [core] graph: re-implement getDepth to return the correct value 2017-10-16 12:24:01 +02:00
Fabien Castan
2024d7ab1c [core] graph: move applyExpr when adding a Node to the graph 2017-10-16 12:24:01 +02:00
Fabien Castan
d74affba35 [core] change param order in Edge constructor 2017-10-16 12:24:00 +02:00
Yann Lanthony
23541db54d [core] stop StatisticsThread when node is processed 2017-10-13 17:13:31 +02:00
Yann Lanthony
45f04e14d2 [core] Edge: invert src/dst parameters order 2017-10-13 16:31:36 +02:00
Yann Lanthony
653cec28c9 [core] add Node.statusName property 2017-10-13 16:31:20 +02:00
Yann Lanthony
e494a63c9d [core] stop graph execution mechanism 2017-10-13 15:17:34 +02:00
Yann Lanthony
d4509ec20e [commands] new AddEdge/RemoveEdge commands 2017-10-13 12:10:35 +02:00
Fabien Castan
85eff3509f Add sugar to connect attributes directly at the node creation 2017-10-11 16:37:38 +02:00
Yann Lanthony
e893a3dfc6 rename package 'processGraph' to 'core' 2017-10-09 12:16:20 +02:00
Renamed from meshroom/processGraph/graph.py (Browse further)