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

1822 script param fix dev 4 4