Skip to content

Commit

Permalink
Merge pull request #147 from lsst-dm/u/womullan/24Marfinal2
Browse files Browse the repository at this point in the history
 re add mar dat with new tracking col - rmeove some debug
  • Loading branch information
womullan authored Apr 23, 2024
2 parents b6376f2 + 6b8c399 commit 72371f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions data/pmcs/202403-ME.xls
Git LFS file not shown
5 changes: 1 addition & 4 deletions milestones/celeb.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,6 @@ def generate_doc(args, milestones):
get_pmcs_path_months(args.pmcs_data, months), args.local_data
)

for m in milestones:
if m.milestone_tracking == "Y":
print(f"Track='{m.milestone_tracking}'", m.code, m.name, m.completed)
milestones = [ms for ms in milestones if ms.milestone_tracking == "Y"]

milestones = sorted(milestones, key=lambda ms: ms.fdue)
Expand Down Expand Up @@ -323,7 +320,7 @@ def generate_doc(args, milestones):
)

with doc.section("Key milestones") as my_section:
top_milestones = [ms for ms in milestones if ms.milestone_tracking]
top_milestones = [ms for ms in milestones if ms.milestone_tracking == "Y"]
write_html(top_milestones, args.pmcs_data, comp_milestones, compline)
if args.table:
write_table(my_section, top_milestones, comp_milestones)
Expand Down

0 comments on commit 72371f0

Please sign in to comment.