main¶
- jwst.associations.main(args=None, pool=None)[source]¶
Command-line entrypoint for the association generator
Wrapper around
Main.cli
so that the return is either True or an exception.- Parameters:
args ([str, ...], or None) –
The command line arguments. Can be one of
pool (None or AssociationPool) – If
None
, a pool file must be specified in theargs
. Otherwise, anAssociationPool