Skip to content

Commit 48b2685

Browse files
committed
[nodes] SfMBootstraping: Fix labels and harmonize quotes usage
1 parent 5735c49 commit 48b2685

File tree

2 files changed

+49
-49
lines changed

2 files changed

+49
-49
lines changed

meshroom/nodes/aliceVision/RelativePoseEstimating.py

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ class RelativePoseEstimating(desc.AVCommandLineNode):
1515

1616
inputs = [
1717
desc.File(
18-
name='input',
19-
label='SfMData',
20-
description='SfMData file.',
21-
value='',
18+
name="input",
19+
label="SfMData",
20+
description="SfMData file.",
21+
value="",
2222
uid=[0],
2323
),
2424
desc.ListAttribute(
@@ -34,38 +34,38 @@ class RelativePoseEstimating(desc.AVCommandLineNode):
3434
description="Folder(s) containing the extracted features and descriptors."
3535
),
3636
desc.File(
37-
name='tracksFilename',
38-
label='Tracks file',
39-
description='Tracks file.',
40-
value='',
37+
name="tracksFilename",
38+
label="Tracks File",
39+
description="Tracks file.",
40+
value="",
4141
uid=[0],
4242
),
4343
desc.ChoiceParam(
44-
name='describerTypes',
45-
label='Describer Types',
46-
description='Describer types used to describe an image.',
47-
value=['dspsift'],
48-
values=['sift', 'sift_float', 'sift_upright', 'dspsift', 'akaze', 'akaze_liop', 'akaze_mldb', 'cctag3', 'cctag4', 'sift_ocv', 'akaze_ocv', 'tag16h5'],
44+
name="describerTypes",
45+
label="Describer Types",
46+
description="Describer types used to describe an image.",
47+
value=["dspsift"],
48+
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
4949
exclusive=False,
5050
uid=[0],
51-
joinChar=',',
51+
joinChar=",",
5252
),
5353
desc.ChoiceParam(
54-
name='verboseLevel',
55-
label='Verbose Level',
56-
description='Verbosity level (fatal, error, warning, info, debug, trace).',
57-
value='info',
58-
values=['fatal', 'error', 'warning', 'info', 'debug', 'trace'],
54+
name="verboseLevel",
55+
label="Verbose Level",
56+
description="Verbosity level (fatal, error, warning, info, debug, trace).",
57+
value="info",
58+
values=["fatal", "error", "warning", "info", "debug", "trace"],
5959
exclusive=True,
6060
uid=[],
6161
)
6262
]
6363

6464
outputs = [
6565
desc.File(
66-
name='output',
67-
label='Pairs Infos',
68-
description='Path to the output Pairs info files directory',
66+
name="output",
67+
label="Pairs Info",
68+
description="Path to the output Pairs info files directory.",
6969
value=desc.Node.internalFolder,
7070
uid=[],
7171
)

meshroom/nodes/aliceVision/SfmBootstraping.py

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ class SfMBootStraping(desc.AVCommandLineNode):
1313

1414
inputs = [
1515
desc.File(
16-
name='input',
17-
label='SfMData',
18-
description='SfMData file.',
19-
value='',
16+
name="input",
17+
label="SfMData",
18+
description="SfMData file.",
19+
value="",
2020
uid=[0],
2121
),
2222
desc.ListAttribute(
@@ -32,46 +32,46 @@ class SfMBootStraping(desc.AVCommandLineNode):
3232
description="Folder(s) containing the extracted features and descriptors."
3333
),
3434
desc.File(
35-
name='tracksFilename',
36-
label='Tracks file',
37-
description='Tracks file.',
38-
value='',
35+
name="tracksFilename",
36+
label="Tracks File",
37+
description="Tracks file.",
38+
value="",
3939
uid=[0],
4040
),
4141
desc.File(
42-
name='pairs',
43-
label='Pairs file',
44-
description='Information on pairs.',
45-
value='',
42+
name="pairs",
43+
label="Pairs File",
44+
description="Information on pairs.",
45+
value="",
4646
uid=[0],
4747
),
4848
desc.ChoiceParam(
49-
name='describerTypes',
50-
label='Describer Types',
51-
description='Describer types used to describe an image.',
52-
value=['dspsift'],
53-
values=['sift', 'sift_float', 'sift_upright', 'dspsift', 'akaze', 'akaze_liop', 'akaze_mldb', 'cctag3', 'cctag4', 'sift_ocv', 'akaze_ocv', 'tag16h5'],
49+
name="describerTypes",
50+
label="Describer Types",
51+
description="Describer types used to describe an image.",
52+
value=["dspsift"],
53+
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
5454
exclusive=False,
5555
uid=[0],
56-
joinChar=',',
56+
joinChar=",",
5757
),
5858
desc.ChoiceParam(
59-
name='verboseLevel',
60-
label='Verbose Level',
61-
description='Verbosity level (fatal, error, warning, info, debug, trace).',
62-
value='info',
63-
values=['fatal', 'error', 'warning', 'info', 'debug', 'trace'],
59+
name="verboseLevel",
60+
label="Verbose Level",
61+
description="Verbosity level (fatal, error, warning, info, debug, trace).",
62+
value="info",
63+
values=["fatal", "error", "warning", "info", "debug", "trace"],
6464
exclusive=True,
6565
uid=[],
6666
)
6767
]
6868

6969
outputs = [
7070
desc.File(
71-
name='output',
72-
label='SfMData',
73-
description='Path to the output sfmdata file',
74-
value=desc.Node.internalFolder + 'sfm.json',
71+
name="output",
72+
label="SfMData",
73+
description="Path to the output SfMData file.",
74+
value=desc.Node.internalFolder + "sfm.json",
7575
uid=[],
7676
)
7777
]

0 commit comments

Comments
 (0)