Skip to content

Commit

Permalink
Update Neuroglancer to latest seung-lab branch (#416)
Browse files Browse the repository at this point in the history
* adds new neuroglancer build

* disables debug mode and adds changelog update
  • Loading branch information
dxenes1 authored Nov 6, 2024
1 parent 425ba07 commit ac08644
Show file tree
Hide file tree
Showing 11 changed files with 10,584 additions and 10,288 deletions.
2 changes: 1 addition & 1 deletion neuvue_project/neuvue/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,4 +248,4 @@
STATIC_NG_FILES = os.listdir(
os.path.join(BASE_DIR, "workspace", "static", "workspace")
) + os.listdir(os.path.join(BASE_DIR, "workspace", "static", "spelunker-workspace"))
# STATIC_NG_FILES = os.listdir(os.path.join(BASE_DIR, "workspace", "static", "workspace-spelunker"))

Binary file modified neuvue_project/neuvueDB.sqlite3
Binary file not shown.
5 changes: 5 additions & 0 deletions neuvue_project/workspace/static/updates.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"recent_updates" : [
{
"update_name": "v2.0.1",
"update_date":"November 6th, 2024",
"update_description": "Adds native Spelunker support. Updates NeuVue Neuroglancer."
},
{
"update_name": "v2.0.0",
"update_date":"March 19th, 2024",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion neuvue_project/workspace/static/workspace/bossauth.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
<p>This page is a placeholder for Keycloak redirection.</p>
<p><button onclick="window.close()">Close</button></p>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21410,7 +21410,7 @@ function decodeBatchMeshResponse(response, callback) {
let length = response.byteLength;
let index = 0;
const dataView = new DataView(response);
const headerSize =
const headerSize =
/*object id*/ 8 + /*fragment key length*/ 8 + /*num vertices*/ 8 + /*num triangles*/ 8;
while (index < length) {
if (index + headerSize > length) {
Expand Down Expand Up @@ -21702,7 +21702,7 @@ function decodeSkeletonChunk(chunk, response) {
if (numEdgesHigh !== 0) {
throw new Error(`The number of edges should not exceed 2^32-1.`);
}
Object(neuroglancer_skeleton_backend__WEBPACK_IMPORTED_MODULE_8__["decodeSkeletonVertexPositionsAndIndices"])(chunk, response, neuroglancer_util_endian__WEBPACK_IMPORTED_MODULE_13__["Endianness"].LITTLE, /*vertexByteOffset=*/ 16, numVertices,
Object(neuroglancer_skeleton_backend__WEBPACK_IMPORTED_MODULE_8__["decodeSkeletonVertexPositionsAndIndices"])(chunk, response, neuroglancer_util_endian__WEBPACK_IMPORTED_MODULE_13__["Endianness"].LITTLE, /*vertexByteOffset=*/ 16, numVertices,
/*indexByteOffset=*/ undefined, /*numEdges=*/ numEdges);
}
let BrainmapsSkeletonSource = class BrainmapsSkeletonSource extends (BrainmapsSource(neuroglancer_skeleton_backend__WEBPACK_IMPORTED_MODULE_8__["SkeletonSource"], neuroglancer_datasource_brainmaps_base__WEBPACK_IMPORTED_MODULE_5__["SkeletonSourceParameters"])) {
Expand Down Expand Up @@ -27715,7 +27715,7 @@ function decodeSkeletonChunk(chunk, response, vertexAttributes) {
let numEdges = dv.getUint32(4, true);
const vertexPositionsStartOffset = 8;
let curOffset = 8 + numVertices * 4 * 3;
Object(neuroglancer_skeleton_backend__WEBPACK_IMPORTED_MODULE_0__["decodeSkeletonVertexPositionsAndIndices"])(chunk, response, neuroglancer_util_endian__WEBPACK_IMPORTED_MODULE_2__["Endianness"].LITTLE, /*vertexByteOffset=*/ vertexPositionsStartOffset, numVertices,
Object(neuroglancer_skeleton_backend__WEBPACK_IMPORTED_MODULE_0__["decodeSkeletonVertexPositionsAndIndices"])(chunk, response, neuroglancer_util_endian__WEBPACK_IMPORTED_MODULE_2__["Endianness"].LITTLE, /*vertexByteOffset=*/ vertexPositionsStartOffset, numVertices,
/*indexByteOffset=*/ curOffset, /*numEdges=*/ numEdges);
curOffset += numEdges * 4 * 2;
let attributes = [];
Expand Down Expand Up @@ -35103,4 +35103,4 @@ module.exports = __webpack_require__(/*! neuroglancer/datasource/csv/backend */"
/***/ })

/******/ });
//# sourceMappingURL=chunk_worker.bundle.js.map
//# sourceMappingURL=chunk_worker.bundle.js.map
2 changes: 1 addition & 1 deletion neuvue_project/workspace/static/workspace/draco.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions neuvue_project/workspace/static/workspace/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
(storage && storage.length !== 0);

if (!outOfSpace) {
alert('Local Storage has been disabled, please re-enable it in Chrome');
alert('Local Storage has been disabled, please renable it in Chrome');

Check failure on line 32 in neuvue_project/workspace/static/workspace/index.html

View workflow job for this annotation

GitHub Actions / Check for spelling errors

renable ==> re-enable
}
}
}
Expand All @@ -49,4 +49,4 @@
<div id="neuroglancer-container"></div>
<script type="text/javascript" src="main.bundle.js"></script></body>

</html>
</html>
Loading

0 comments on commit ac08644

Please sign in to comment.