Syntax error when importing pyotb on Python <3.8
The syntax used by pyotb in shape
method is wrong for python 3.6 and 3.7. Error message when trying to import pyotb on those python versions:
File "pyotb/core.py", line 88
return *image_size, image_bands
^
SyntaxError: invalid syntax
Solution: Instead of return *image_size, image_bands
, it should be return (*image_size, image_bands)
Edited by Cresson Remi