diff --git a/scripts/generateDPRCommands.js b/scripts/generateDPRCommands.js index 3697b11..f9f6ede 100755 --- a/scripts/generateDPRCommands.js +++ b/scripts/generateDPRCommands.js @@ -45,7 +45,7 @@ async function generate_scripts() { } document.files.forEach(fileInfo => { - let fileName = fileInfo.fileName.replace(/\.svs/g, ''); + let fileName = fileInfo.fileName; let stainType = ''; for(const key in slideTypeMap) { if (fileName.includes(key)) {