tacstudy - tpcclib 0.8.0 © 2023 by Turku PET Centre

Set or get the valid TPC study number in regional TAC or SIF file.
Valid TPC study number can not exceed 10 characters, and it must not
contain spaces; it contains 1-5 letters (upper- or lowercase)
followed by 1-5 digits.
 
If study number is not given as argument, or file does not contain it,
it is automatically extracted from filename, when possible, by this and
other applications.
 
Note that many file formats (including PMOD) do not support study numbers,
but this application can still optionally add the study number as
a comment, for example:
# studynr := ab1006
 
Usage: tacstudy [Options] filename [studynumber]
 
Options:
 -fn[=<N>]
     Get study number from filename, optionally from the N first letters
     (max 10) of file name, excluding possible path and extension.
 -df=<N>
     Delete the first N letters from study number.
 -lower
     Convert study number letters to lowercase.
 --force
     Validity of new study number is not verified, and written in file
     as comment line, if not otherwise supported. Maximum legnth for
     study number is either 255 or 10 characters, depending on file format.
 -value
     Print only the study number without file name.
 -h, --help
     Display usage information on standard output and exit.
 -v, --version
     Display version and compile information on standard output and exit.
 -d[n], --debug[=n], --verbose[=n]
     Set the level (n) of debugging messages and listings.
 -q, --quiet
     Suppress displaying normal results on standard output.
 -s, --silent
     Suppress displaying anything except errors.
 
See also: tacunit, tacadd, iftlist, iftedit, tacformat
 
Keywords: TAC, tool, simulation, study number