diff --git a/src/reports/biospecimen-request/generateBiospecimenRequestFiles.ts b/src/reports/biospecimen-request/generateBiospecimenRequestFiles.ts index 36dc904..98fddf4 100644 --- a/src/reports/biospecimen-request/generateBiospecimenRequestFiles.ts +++ b/src/reports/biospecimen-request/generateBiospecimenRequestFiles.ts @@ -1,3 +1,4 @@ +/* eslint-disable max-len */ /* eslint-disable no-console */ import noop from 'lodash/noop'; @@ -30,7 +31,7 @@ export default async function generateFiles( accessToken: string, ): Promise { const wb = new xl.Workbook(); - let readmeContent = ''; + let readmeContent = `# INCLUDE Biospecimen Request Report - README \n\nThis README provides information on accessing and requesting biospecimens from the INCLUDE biobanks. The report generated will provide contact information for each biobank along with their respective sheet listing all selected samples available for request. To initiate the process, please follow the instructions per study below. \n\n## Instructions for Biospecimen Requests per study\n\n`; const extendedConfig = await getExtendedConfigs(es, projectId, normalizedConfigs.indexName); const workSheets = new Map([]); const workSheetConfigs = new Map([]); @@ -68,7 +69,8 @@ export default async function generateFiles( // Add biorepository request note to README content for the study if ((row as any).study.note) { - readmeContent += `${(row as any).study.note}\n`; + readmeContent += `### ${study_code}\n\n`; + readmeContent += `${(row as any).study.note}\n\n`; } }