abria / TeraStitcher

A tool for fast automatic 3D-stitching of teravoxel-sized microscopy images
http://abria.github.io/TeraStitcher/
Other
82 stars 32 forks source link

Projin and projout paths cannot contain the string '-2' #94

Open bdsinger opened 2 years ago

bdsinger commented 2 years ago

Since check_flags() uses line.find() here to look for -2 in command line args before projin or projout are processed , if the either contain -2 (e.g. --projin=data-2/xml_import.xml) then check_flags() will use & delete it from the input params when processing -2. The result is an error that the input was not found (or output, whichever is first on command line.)