Merge pull request #150 from alicevision/dev_versionCompatibility

Introduce version compatibility handling
This commit is contained in:
Fabien Castan 2018-07-26 12:50:15 +02:00 committed by GitHub
commit bb0155ba42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 1762 additions and 557 deletions

View file

@ -1,10 +1,10 @@
import sys
__version__ = "1.0"
import os
from meshroom.core import desc
class ImageMatchingMultiSfM(desc.CommandLineNode):
internalFolder = '{cache}/{nodeType}/{uid0}/'
commandLine = 'aliceVision_imageMatching {allParams}'
# use both SfM inputs to define Node's size
size = desc.MultiDynamicNodeSize(['input', 'inputB'])
@ -99,14 +99,14 @@ class ImageMatchingMultiSfM(desc.CommandLineNode):
name='output',
label='Output List File',
description='Filepath to the output file with the list of selected image pairs.',
value='{cache}/{nodeType}/{uid0}/imageMatches.txt',
value=desc.Node.internalFolder + 'imageMatches.txt',
uid=[],
),
desc.File(
name='outputCombinedSfM',
label='Output Combined SfM',
description='Path for the combined SfMData file',
value='{cache}/{nodeType}/{uid0}/combineSfM.sfm',
value=desc.Node.internalFolder + 'combineSfM.sfm',
uid=[],
),
]