fparser.scripts.read

Python script with command line options which calls the Fortran File Reader with the supplied filename(s) and outputs the reader’s representation of the code(s).

Module Contents

Functions

runner(_, options, args)

Call the Fortran File reader for each filename in args and print

main()

Check input options then call the runner function.

fparser.scripts.read.runner(_, options, args)[source]

Call the Fortran File reader for each filename in args and print out its content.

Parameters:
  • options (optparse.Values) – command line argument information from the options parser

  • args (list of str) – a list of Fortran filepaths

Raises:

NotImplementedError – if the task option is not set to “show”.

fparser.scripts.read.main()[source]

Check input options then call the runner function.