Commit graph

8 commits

Author SHA1 Message Date
Candice Bentéjac
ee5e9401ce [tests] Rewrite test_nodeCommandLineFormatting using test nodes
The tests in that file were using AliceVision nodes, which are now out
of Meshroom's repository.
2025-03-17 18:34:21 +01:00
Candice Bentéjac
41e885d9ff Linting: Clean-up files 2024-09-12 10:50:13 +02:00
Vincent Demoulin
ed4916e803 Update tests with init functions 2024-07-05 15:46:59 +02:00
Fabien Castan
020dbecc68 [core] attribute: new initValue, independant from the resetToDefaultValue
Avoid to evaluate the default value if we don't need to.
2024-06-15 18:05:24 +02:00
Fabien Servant
d8238517af Change camera models 2024-03-24 22:38:33 +01:00
Fabien Castan
c6d0933d4f [core] Value need to be exposed without quotes to allow to compose simple expressions
For instance, on the Meshing node "outputMesh" param expression is:
value="{cache}/{nodeType}/{uid0}/mesh.{outputMeshFileTypeValue}",

So the extension here should not contains quotes.
2024-02-02 20:14:15 +01:00
Fabien Castan
a35f1c72e2 [core] Update formatting with quotes for List and Group
If the joinChar is NOT space, we use global quotes.
If the joinChar is space, we use quotes per element.
2024-02-02 15:16:58 +01:00
demoulinv
a7fc167512 [core] String formatting of parameters with/without quotes to deal with spaces in strings
We have the problem of spaces in file paths, choices (like colorspace),
etc.
An empty list is not send to the command line.
An empty string is send to the command line as "".
Add new unit test to ensure it follows the expected rules.
2024-02-01 18:28:51 +01:00