Miscellaneous Operations Using sfftk-rw

Viewing sfftk-rw Version

To view the current version of sfftk-rw run:

sff --V
sff --version

Viewing File Metadata

sff view <file>

The full list of options is:

sff view
usage: sff view [-h] [-V] [-C] [-v] from_file

View a summary of an SFF file

positional arguments:
  from_file          any SFF file

optional arguments:
  -h, --help         show this help message and exit
  -V, --version      show SFF format version
  -C, --show-chunks  show sequence of chunks in IMOD file; only works with
                     IMOD model files (.mod) [default: False]
  -v, --verbose      verbose output

Running Unit Tests

sff tests [tool]

where tool is one of all, core, main, formats, readers, notes or schema.