Utilities and Convenience Functions
make_reader(args)
- Receives an argparse
argument containing command-line arguments - Identifies the subtype required using the
attr which must match an entry in the reader_type_map - Translates the argparse arguments into the specific form required by the constructor for the type identified in (2) above
- Returns an instance of that type constructed using these arguments