ocd.allow_hetdex – The ocd allow_hetdex command

Implementation of the ocd allow_hetdex command

ocd.allow_hetdex.allow_hetdex_parser(subparsers)[source]

Add a subcommand “execute_hetdex” to toggle the HetdexAllowedState.

Parameters:
subparsers : argparse subparsers object

subparser to use to generate new parsers

Returns:
parser : argparse.ArgumentParser

modified parser

ocd.allow_hetdex.allow_hetdex_cmd(args)[source]

Entry point for enabling/disabling HETDEX shot execution.

Parameters:
args : Namespace

parsed command line arguments