Skip to content

Commit 5cdf5e6

Browse files
committed
Potential Fix (again) and version update to maybe force proper rebuild
1 parent bbcb266 commit 5cdf5e6

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ouroboros",
33
"productName": "Ouroboros",
4-
"version": "1.2.7",
4+
"version": "1.2.8rc1",
55
"description": "Quickly extract ROIs from cloud-hosted medical scans.",
66
"main": "./out/main/index.js",
77
"author": "Weaver Goldman <we.goldm@gmail.com>",

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ouroboros"
3-
version = "1.2.7"
3+
version = "1.2.8rc1"
44
description = "Extract ROIs (e.g. nerves, blood vessels) from multi-terabyte cloud-hosted medical scans."
55
authors = ["Weaver Goldman <we.goldm@gmail.com>, David Northover <david.northover@psu.edu>"]
66
readme = "README.md"

resources/processes/volume-server-script.mjs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ const copyHandler = (toVolume) => async (req, res) => {
3030
await Promise.all(
3131
files.map(async (file) => {
3232
const { sourcePath, targetPath } = file
33-
34-
const sourceFolder = dirname(sourcePath)
35-
const sourceFileName = basename(sourcePath)
33+
// Normalize paths to POSIX format for consistent handling across platforms
34+
// Handle Windows backslashes and mixed path separators
35+
const normalizedSourcePath = sourcePath.replace(/\\/g, '/')
36+
const sourceFolder = dirname(normalizedSourcePath)
37+
const sourceFileName = basename(normalizedSourcePath)
3638
const targetDir = path.posix.join(pluginFolderName, targetPath)
3739

3840
let command

0 commit comments

Comments
 (0)