mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-26 19:51:17 -07:00
Put the pdf back in the package and add TSD to pipeline (#1580)
* Put the pdf back in the package and add TSD to pipeline * updated pdf with logo * wrong path
This commit is contained in:
parent
c07d790b77
commit
fbd56e3bd5
6 changed files with 2837 additions and 6735 deletions
|
@ -528,8 +528,7 @@ class PostScoreETL(ExtractTransformLoad):
|
|||
excel_path = constants.SCORE_DOWNLOADABLE_EXCEL_FILE_PATH
|
||||
codebook_path = constants.SCORE_DOWNLOADABLE_CODEBOOK_FILE_PATH
|
||||
zip_path = constants.SCORE_DOWNLOADABLE_ZIP_FILE_PATH
|
||||
# TODO: reinstate when PDF is added back
|
||||
# pdf_path = constants.SCORE_DOWNLOADABLE_PDF_FILE_PATH
|
||||
pdf_path = constants.SCORE_DOWNLOADABLE_PDF_FILE_PATH
|
||||
|
||||
logger.info("Writing downloadable excel")
|
||||
excel_config = self._load_excel_from_df(
|
||||
|
@ -583,7 +582,8 @@ class PostScoreETL(ExtractTransformLoad):
|
|||
csv_path,
|
||||
excel_path,
|
||||
codebook_path,
|
||||
] # add pdf_path here to include PDF
|
||||
pdf_path,
|
||||
]
|
||||
zip_files(zip_path, files_to_compress)
|
||||
|
||||
def load(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue