Skip to content

Commit 6ad6db9

Browse files
authored
Merge pull request #30 from spacetelescope/dev
merge dev to main
2 parents b5819b3 + c91bfab commit 6ad6db9

3 files changed

Lines changed: 22 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
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

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
# a list of builtin themes.
8686
html_theme = "sphinx_book_theme" # "sphinx_rtd_theme" # "bootstrap-astropy" # "alabaster" #
8787
html_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

mast_contributor_tools/filename_check/fc_db.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 "

0 commit comments

Comments
 (0)