Skip to content

Commit

Permalink
Fix proctab replacement timestamp and parser docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
akremin committed Feb 14, 2022
1 parent b2fde18 commit de07220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/desi_purge_tilenight
Expand Up @@ -17,7 +17,7 @@ import time

def get_parser():
"""
Creates an arguments parser for the edit_exposure_table script
Creates an arguments parser for the desi_purge_tilenight script
"""
parser = argparse.ArgumentParser(usage = "{prog} [options]")
parser.add_argument("-n", "--night", type=int, required=True,
Expand Down Expand Up @@ -118,7 +118,7 @@ def purge_tilenight(tiles, night, dry_run=True):
remove_directory(dirname, dry_run)

## Load old processing table
timestamp = time.strftime('%Y%M%d_%Hh%mm')
timestamp = time.strftime('%Y%m%d_%Hh%Mm')
ppathname = get_processing_table_pathname(prodmod=str(night))
ptable = load_table(tablename=ppathname, tabletype='proctable')

Expand Down

0 comments on commit de07220

Please sign in to comment.