From 33106f0fa8855440e6aaf54bd7c41db2cbc5d5c0 Mon Sep 17 00:00:00 2001 From: dert1129 Date: Wed, 9 Oct 2024 09:18:58 -0400 Subject: [PATCH] leave extension --- scripts/generateDPRCommands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {