Prevent ZeroDivisionError on sizeT=1
Ignore images where sizeT = 1
Handle dataset is None (orphaned image)
Fixing long line flake8 issue
Merge pull request #56 from will-moore/1822-script-param-fix

1822 script param fix