Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

minccomplete(1) [debian man page]

MINCCOMPLETE(1) 					User Contributed Perl Documentation					   MINCCOMPLETE(1)

NAME
minccomplete - checks if a MINC file is complete SYNOPSIS
minccomplete [options] <file.mnc> minccomplete is designed as a QC tool that you can use to check if MINC or xfm files have been completely written. DESCRIPTION
minccomplete will check if a file exists and is completely written. The reasons for non-completion are varied but typically caused when a process writing a MINC or xfm file is interrupted. A zero will be returned if the file is complete and a -1 if it isn't. Examples: $ minccomplete in.mnc 0 $ minccomplete in.xfm 0 A MINC file is returned as complete if the image attribute image:complete is set. ie: mincinfo -attvalue image:complete infile.mnc A xfm file is deemed complete if xfm2param can parse the file. The associated exit codes will also be set as part of this so that minccomplete can be used in scripts. An entirely simplistic example: #! /bin/sh infile=$1 if [ `minccomplete ${infile}` ] then echo "Yes!" else echo "Nope, try again" fi Problems or comments should be sent to: a.janke@gmail.com OPTIONS
-v, --verbose Be noisy when doing things --version Print version number and exit -h, --help Dump some quick help output --man Dump a man page -e, --error_string Don't die on errors (eg: file not found) and print the supplied value instead SEE ALSO
mincheader(1) mincinfo(1) xfm2param(1) AUTHOR
Andrew Janke - a.janke@gmail.com COPYRIGHTS
Copyright 2000 by Andrew L Janke perl v5.14.2 2012-03-09 MINCCOMPLETE(1)

Check Out this Related Man Page

MINCHISTORY(1)						User Contributed Perl Documentation					    MINCHISTORY(1)

NAME
minchistory - prints history information for minc files SYNOPSIS
minchistory [options] <file1.mnc> [<file2.mnc> ... ] minchistory will dump the internal history of one or more MINC files DESCRIPTION
minchistory is a perl script that prints the history information in a collection of MINC files. Most MINC files contain an internal "audit trail" that lists the commands used to create the MINC file. This tool provides a convenient way to examine this information. For each file, minchistory prints a title line followed by a series of lines which list the history information for that file. --- History of <filename> --- [01] Wed Oct 13 15:35:35 EST 2004>>>> dicom3_to_minc . [02] Wed Oct 13 15:43:34 2004>>> mincreshape +direction bob-jones_256x256x256_T1.mnc out.mnc -dimorder zspace,yspace,xspace -clobber minchistory is essentially an alias for the following command with a bit of pretty printing added. mincinfo -attvalue :history B<filename.mnc> OPTIONS
-v, --verbose Be noisy when doing things --version Print version number and exit -h, --help Dump some quick help output --man Dump a man page SEE ALSO
mincinfo(1) AUTHOR
Andrew Janke - a.janke@gmail.com COPYRIGHTS
Copyright 2000 by Andrew L Janke perl v5.14.2 2012-03-09 MINCHISTORY(1)
Man Page