ulisesrey / imutils

0 stars 6 forks source link

PROG: error: unrecognized arguments: BH1_ZIM2156_od10_1/ #6

Closed ulisesrey closed 2 years ago

ulisesrey commented 2 years ago

for some reason I am getting this error when running the ometiff2bigtiff function through cluster jobs (bash_to_run_directories) using imutils_parser.py and imfunctions.py

It does not fail always, only sometimes.

usage: PROG [-h]
            {tiff2avi,ometiff2bigtiff,ometiff2bigtiffZ,max_projection_3d,z_projection_parser,stack_substract_background,make_contour_based_binary,unet_segmentation_contours_with_children,erode,ake_hyperstack_from_ometif}
            ...
PROG: error: unrecognized arguments: BH1_ZIM2156_od10_1/

line of code:

python /scratch/ulises/code/imutils/imutils/src/imutils_parser.py ometiff2bigtiff -path $DIR_NAME
ulisesrey commented 2 years ago

Solved! The problem was that the $DIR_NAME had a space, and then it messed it up. $DIR_NAME should not have any space character!