File tree Expand file tree Collapse file tree
mast_contributor_tools/filename_check Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
33## [ Unreleased]
4+ ### Added
5+
6+ ### Changed
7+
8+ ### Deprecated
9+
10+ ### Fixed
11+
12+ ### Removed
13+
14+ ### Security
15+
16+ ## 1.0.1 (2025-11-10)
17+ ### Fixed
18+ [ PR # 29] ( https://github.com/spacetelescope/mast_contributor_tools/pull/29 )
19+ - Fixed the repository URL in Documentation
20+ [ PR # 28] ( https://github.com/spacetelescope/mast_contributor_tools/pull/28 )
21+ - Fixed a small bug where the final log statement incorrectly counts the number of files that passed.
422
523## 1.0.0 (2025-10-08)
624
Original file line number Diff line number Diff line change 8585# a list of builtin themes.
8686html_theme = "sphinx_book_theme" # "sphinx_rtd_theme" # "bootstrap-astropy" # "alabaster" #
8787html_theme_options = {
88- "repository_url" : "https://github.com/spacetelescope/bibcat /" ,
88+ "repository_url" : "https://github.com/spacetelescope/mast_contributor_tools /" ,
8989 "use_repository_button" : True , # shows the GitHub icon button
9090 "use_edit_page_button" : True , # adds an "edit this page" link
9191 "use_issues_button" : True , # adds a link to GitHub issues
Original file line number Diff line number Diff line change @@ -113,9 +113,9 @@ def print_summary(self) -> str:
113113 dat = self .conn .execute ("SELECT filename, final_verdict from filename" ).fetchall ()
114114 # Parse numbers
115115 num_files = len (dat )
116- num_pass = sum ([1 for d in dat if d [1 ] == "pass " ])
117- num_review = sum ([1 for d in dat if d [1 ] == "needs review " ])
118- num_fail = sum ([1 for d in dat if d [1 ] == "fail " ])
116+ num_pass = sum ([1 for d in dat if d [1 ]. upper () == "PASS " ])
117+ num_review = sum ([1 for d in dat if d [1 ]. upper () == "NEEDS REVIEW " ])
118+ num_fail = sum ([1 for d in dat if d [1 ]. upper () == "FAIL " ])
119119 # Write summary message
120120 summary_message = "Output summary:\n "
121121 summary_message += f"Files Checked: { num_files } \n "
You can’t perform that action at this time.
0 commit comments