Hello.
Just noticed with PhotoScan 1.2 that the keyword argument items of saveReference Python function is not behaving properly.
All these calls export cameras.
>>> chunk.saveReference(path, 'csv', items = 'markers')
True
>>> chunk.saveReference(path, 'csv', items = 'cameras')
True
>>> chunk.saveReference(path, 'csv', items = 'scalebars')
True
# Notice the wrong value (is it a keyword name issue?)
>>> chunk.saveReference(path, 'csv', items = 'scaleb')
True
But it works with a positional argument.
>>> chunk.saveReference(path, 'csv', 'scaleb')
Traceback (most recent call last):
File "<console>", line 1, in <module>
TypeError: items should be in ['cameras', 'markers', 'scalebars']
>>> chunk.saveReference(path, 'csv', 'cameras')
True
>>> chunk.saveReference(path, 'csv', 'markers')
True
>>> chunk.saveReference(path, 'csv', 'scalebars')
True