chandra-mta / MTA

0 stars 0 forks source link

Weekly improve #36

Closed william-aaron-CFA closed 5 months ago

william-aaron-CFA commented 6 months ago

Following a separate issue in which the ACIS focal data was not being filled out from 2024:003 to 2024:047, it was discovered that the weekly reports were also not being generated. This failure also went unnoticed as the weekly report generation only had a setup to notify the MTA team if the report was successfully completed, not if there was an issue with the report generation.

This PR achieves two goals 1: Implements the new MTA testing standard with python argparse, bringing the script set into the MTA coding standard. Other MTA coding standard changes such as removing instances of the mat_common_functions library and changing string formatting from '%' formatting to f-string formatting are being saved for a separate PR.

2: Implements a notification email function following an error in the regular script running. ( see send_error_to_admin function)