Grégoire De Lillo
0aa173c982
Merge branch 'develop' of https://github.com/alicevision/meshroom into dev_depthMapOptim
...
Conflicts:
meshroom/core/desc.py
meshroom/nodes/aliceVision/CameraInit.py
meshroom/nodes/aliceVision/ImageMasking.py
2021-09-29 19:34:10 +02:00
Fabien Castan
5ab6ed8e52
[core] Improve project files upgrade
...
- upgrade groups with changes in params
- new upgradeAttributeValues per node
2021-08-13 16:07:14 +02:00
Fabien Castan
dc3f4dd2be
[nodes] add semantic to customize attibute UI
2021-07-19 12:03:00 +02:00
Fabien Castan
b000c6f311
[core] no cmd line range arguments if we have only a single chunk
2021-05-25 18:22:08 +02:00
Fabien Castan
8214f0a0e8
Merge remote-tracking branch 'origin/develop' into dev_depthMapOptim
2021-02-15 23:18:53 +01:00
ChemicalXandco
3d33134ca9
[ui] add support for node categories
2021-02-14 16:12:39 +00:00
Fabien Castan
f92a835b2f
Merge remote-tracking branch 'origin/develop' into dev_depthMapOptim
2021-01-13 12:45:31 +01:00
Julien-Haudegond
887b33490e
[core] avoid direct includes to PySide2
2020-08-13 14:24:44 +02:00
Julien-Haudegond
06372bc89e
[core] fix elif after raise
2020-08-13 14:24:44 +02:00
Julien-Haudegond
0c9dc81a82
[core] fix validateValue and setValue for Attributes
2020-08-13 14:24:44 +02:00
Julien-Haudegond
cd89a49156
[core] GroupAttribute: add new ways of setting value
...
- Add: set value with JS Object
- Add: set value from a JSON String
2020-08-13 14:24:44 +02:00
Julien-Haudegond
2d953d7319
[core] add enabled property on attributes
...
The new property "enabled" allows to define a lambda to dynamically enable/disable parameters.
Disabled parameters are not used in the uid, not exported to the command line and not visible in the interface.
2020-07-24 17:36:17 +02:00
Karthikeyan Singaravelan
165ba412e4
Import ABC from collections.abc ( #983 )
...
Use compatibility layer for Python 2 support
2020-07-16 16:02:51 +02:00
Fabien Castan
0e606eef4e
[ui] Add the notion of Node Documentation
2020-03-26 10:54:00 +01:00
Fabien Castan
8c36acfe9d
Merge branch 'develop' of https://github.com/alicevision/meshroom into dev_depthMapOptim
2020-03-20 09:14:51 +01:00
Grégoire De Lillo
1f7663259a
[core] compatibility : List of groups update is more flexible
2020-02-17 10:19:28 +01:00
Fabien Castan
82e5a6a63f
Merge branch 'develop' of github.com:alicevision/meshroom into dev_depthMapOptim
...
Conflicts:
meshroom/nodes/aliceVision/StructureFromMotion.py
2020-02-12 12:12:33 +01:00
Fabien Castan
7f84097c24
[core] Option to make chunks optional
2020-02-05 12:35:59 +01:00
Fabien Castan
5569b8551e
Merge branch 'develop' of github.com:alicevision/meshroom into dev_depthMapOptim
2020-01-21 22:05:55 +01:00
Yann Lanthony
0b4d2c8927
[core] desc.Node: allow usage of DynamicNodeSize on output attributes
...
Also consider IntParam value as node size.
2019-12-13 19:26:53 +01:00
Yann Lanthony
a0ba44fbff
[core] desc.Node: add update/postUpdate hooks
...
Enable node descriptions to react before/after the invalidation of a node instance.
2019-12-13 19:26:42 +01:00
Guillaume Buisson
63d0cc3b83
[nodes] add semantic to customize attibute UI
2019-11-20 09:50:40 +01:00
Guillaume Buisson
064d76de3d
[attribute] refactor attribute/desc to customize command line arguments formatting
2019-11-20 09:50:40 +01:00
Yann Lanthony
275c4133fe
[core] make range complete block size accessible to command line nodes
...
* range 'blockSize' is now the complete block size (equal for all iterations)
* command lines nodes can use this complete block size to compute the iteration number on software side; delegate range cropping for last iteration to software.
* 'effectiveBlockSize' is still accessible through 'rangeEffectiveBlockSize' parameter
2019-04-26 10:49:47 +02:00
Yann Lanthony
0ab7d45607
[desc] allow List/GroupAttribute to be marked as advanced parameters
2019-03-26 12:09:16 +01:00
Yann Lanthony
2a0b695ea7
[core] more thorough compatibility issues detection
...
* add 'matchDescription' method on desc.Attribute.
* desc.ListAttribute/desc.GroupAttribute: 'matchDescription' ensure that value perfectly match element/group description. Enable recursive checking for child attributes.
* nodeFactory: detect DescriptionConflicts in pre-process pass by checking that serialized node's attributes perfectly match their descriptions
* CompatibilityNode.attributeDescFromNameAttribute: consider link expressions as valid values
* test_compatibility: more complete description conflicts unit testing
2019-02-01 16:03:21 +01:00
Yann Lanthony
6ac4a9d712
[desc][qt] use QVariantList for list-type properties
...
* required for PySide2 > 5.11.1 (and compatible with 5.11.1)
* AttributeItemDelegate: test for list length to determine whether to create a slider component (if range is set to None on Python side, it will be an empty list on the QML/JS side)
2019-01-04 17:30:38 +01:00
Yann Lanthony
8ada834447
[core] Attribute: new 'advanced' notion on parameters
2018-12-20 11:17:23 +01:00
Grégoire De Lillo
312e21c03a
[core] BoolParam
add int cast to handle string values ('0', '1')
2018-12-07 11:25:25 +01:00
cclauss
ca658ed745
Use feature detection instead of version detection
...
Python porting best practice is to Use feature detection instead of version detection
* https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection
2018-08-11 08:29:44 +02:00
Yann Lanthony
5897dc13b6
[core] verify chunk hosts a subprocess before killing it
...
a chunk can be marked as "RUNNING" without hosting a subprocess, if a node is duplicated in the graph
2018-07-19 13:50:45 +02:00
Yann Lanthony
b6cbb0cc63
[desc] fix default values for List/GroupAttribute
2018-07-19 13:50:45 +02:00
Yann Lanthony
346277629a
[nodes] use 'desc.Node.internalFolder' in outputs values
...
* avoid duplicating the same string everywhere
* don't override 'internalFolder' with the same value default value in subclasses
2018-07-19 13:50:45 +02:00
Yann Lanthony
e2c5a916b5
[core] kill process tree when aborting computation
...
fix defunct child processes
2018-05-28 16:25:00 +02:00
Fabien Castan
d83022714f
[core] add pyCompatibility module
...
For python 2 / 3 compatibility
2018-05-21 17:12:22 +02:00
Yann Lanthony
8466264cf0
Merge pull request #106 from alicevision/dev_retrocompatibility
...
Retrocompatibility V1
2018-04-16 18:39:32 +02:00
Yann Lanthony
768905d9e9
[nodes] aliceVision: remove '__version__' used by rez
2018-04-13 22:43:00 +02:00
Yann Lanthony
f401ca7c8b
[core] fix and use 'validateValue' for ListAttribute and GroupAttribute
2018-04-13 21:51:13 +02:00
Yann Lanthony
12d62fe46b
[core] fix ChoiceParam.validateValue
...
return value(s) converted to the expected type
2018-04-04 19:24:41 +02:00
Yann Lanthony
9522ea7092
[core] use string formatting to print command info
2018-02-26 12:23:08 +01:00
Yann Lanthony
bd773c50b7
[desc] add MultiDynamicNodeSize for multi attributes-dependent Node size
...
* add documentation
* remove redundant parentheses
2018-01-10 11:33:24 +01:00
Fabien Castan
76ec5a1913
Merge pull request #78 from alicevision/dev_ui_nodelogs
...
Add NodeLog Component that displays logs/statistics/status files of a Node
2018-01-03 21:19:41 +01:00
Fabien Castan
ad84d20eb5
[core] ListAttribute and GroupAttribute can now be exported on command line
...
* ListAttribute, GroupAttribute: can now be exported on command line
with customizable join character.
* ChoiceParam with non exclusive values are exported on command line as
before but using the new getValueStr()
2018-01-02 14:43:29 +01:00
Yann Lanthony
49c3491534
[graph] expose NodeChunks log files as properties
2017-12-28 21:26:26 +01:00
Yann Lanthony
1a6febb02e
[core] catch psutil.NoSuchProcess exception when trying to stop process
2017-11-28 22:36:35 +01:00
Fabien Castan
286012d55f
[core] fix rez disabling if already in env and check that the package versions match
...
* "upper" was missing to check is the variable is in the environment
* check if the versions match
2017-11-23 20:06:05 +01:00
Fabien Castan
9d99cba772
[core] set command line to status file before launching the command
2017-11-22 15:13:28 +01:00
Yann Lanthony
e8c579c942
[core] parallelization: introduce the notion of node 'size'
...
* node size is an estimation of the number of element to process on a given node, that may be used for parallelization.
* replace the explicit reference to an attribute on a node (Parallelization.inputListParamName)
* size can be:
* dynamic: depends on the size of the node connected to a specific Attribute
* static
2017-11-17 18:46:21 +01:00
Yann Lanthony
3fae2fbc57
[desc] convert IntParams inner value to long to avoid OverflowError
...
when storing unsigned int, shiboken will overflow when retrieving those values as int
2017-11-14 16:52:03 +01:00
Yann Lanthony
705b4a42a7
[desc] fix base Node default cache folder
...
was missing 'cache' key
2017-11-14 10:06:29 +01:00