Skip to content

Commit 42c0873

Browse files
committed
Updated coordinate behavior provided by API.
1 parent c6c1c02 commit 42c0873

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nmcp-export",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"main": "dist/app.js",
55
"repository": "https://github.com/AllenNeuralDynamics/nmcp-export.git",
66
"author": "Patrick Edson <pedson@leapscientific.com>",

src/export/swcExportCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function mapToSwc(nodes: any[], pathStructure: number, offset: number = 0): stri
5959

6060
sampleNumber += offset;
6161

62-
return prev + `${sampleNumber}\t${pathStructure}\t${node.z.toFixed(6)}\t${node.y.toFixed(6)}\t${node.x.toFixed(6)}\t${node.radius.toFixed(6)}\t${parentNumber}\n`;
62+
return prev + `${sampleNumber}\t${pathStructure}\t${node.x.toFixed(6)}\t${node.y.toFixed(6)}\t${node.z.toFixed(6)}\t${node.radius.toFixed(6)}\t${parentNumber}\n`;
6363
}, "");
6464
}
6565

0 commit comments

Comments
 (0)