I am running SPCConvert on a windows10 machine, using anaconda 4.8.2 and python 2.7.16 in anaconda. I have attempted to process a directory of tif images (converted from png using XnConvert). The png files came from the WHOI IFCB database (https://darchive.mblwhoilibrary.org/handle/1912/7341) -- I used 2014 amoeba directory. For all of the files I get an error message like "IIFCB1_2014_188_222013_06882_result.tif strange timestamp". The files are processed and saved, and then the error is thrown:
Postprocessing...
Traceback (most recent call last):
File "spcconvert.py", line 550, in
run(data_path,cfg)
File "spcconvert.py", line 317, in run
elapsed_seconds = unixtime - np.min(unixtime)
File "C:\Users\duane\AppData\Local\Continuum\anaconda2\lib\site-packages\numpy\core\fromnumeric.py", line 2618, in amin
initial=initial)
File "C:\Users\duane\AppData\Local\Continuum\anaconda2\lib\site-packages\numpy\core\fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity
What do I do the deal with this timestamp issue? Why does the program need a timestamp in the image at all? thanks.
SPCOnvert.txt
I am running SPCConvert on a windows10 machine, using anaconda 4.8.2 and python 2.7.16 in anaconda. I have attempted to process a directory of tif images (converted from png using XnConvert). The png files came from the WHOI IFCB database (https://darchive.mblwhoilibrary.org/handle/1912/7341) -- I used 2014 amoeba directory. For all of the files I get an error message like "IIFCB1_2014_188_222013_06882_result.tif strange timestamp". The files are processed and saved, and then the error is thrown:
Postprocessing...
Traceback (most recent call last):
File "spcconvert.py", line 550, in
run(data_path,cfg)
File "spcconvert.py", line 317, in run
elapsed_seconds = unixtime - np.min(unixtime)
File "C:\Users\duane\AppData\Local\Continuum\anaconda2\lib\site-packages\numpy\core\fromnumeric.py", line 2618, in amin
initial=initial)
File "C:\Users\duane\AppData\Local\Continuum\anaconda2\lib\site-packages\numpy\core\fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity
What do I do the deal with this timestamp issue? Why does the program need a timestamp in the image at all? thanks.
SPCOnvert.txt