BIC-MNI / Register

MNI Register, visualization and registration software for images.
Other
3 stars 3 forks source link

register -help throws volume_io error on devel #16

Closed gdevenyi closed 7 years ago

gdevenyi commented 7 years ago

I think the command-line parser got a bit broken: minc-toolkit-1.9.11

> register -help
Usage: register  [OPTION]... [volume1.mnc] [volume2.mnc] [tags.tag]

Options:
    -help:      Prints this message.
    -rgb:       Starts program in RGB mode.
    -cmap:      Starts program in colour map mode.
    -single:    Starts program in single buffer mode.
    -double:    Starts program in double buffer mode.
    -global variable value:
                Sets a global variable that changes configuration of program.
    -sync:      Start program with volumes synced.
    -range volume min max:
                Sets the minimum and maximum colour range for volume 0 or 1.
    -version:   Displays the version number of the program.

minc-toolkit-v2 all develop

> register -help
/opt/quarantine/minc-toolkit/git/src/minc-toolkit-v2/libminc/volume_io/Prog_utils/print.c:226 (from MINC): volume_io error
rdvincent commented 7 years ago

sigh. will fix.

gdevenyi commented 7 years ago

Ran into this with objconcat as well, probably indicates an issue in libminc not Register.

rdvincent commented 7 years ago

@gdevenyi Yes, we broke the error reporting for volume_io. Will have to work out a global fix, but Register should be ok for now.

gdevenyi commented 7 years ago

Fixed