Skip to content

Commit

Permalink
fix: inverted series after advanced view (#334)
Browse files Browse the repository at this point in the history
* fix: inverted series after advanced view

* build: version bump

* Update docs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
alfredotoselli and github-actions[bot] authored Mar 20, 2024
1 parent a73c494 commit edb4870
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

## Dicom Image Toolkit for CornerstoneJS

### Current version: 2.4.14
### Current version: 2.4.15

### Latest Published Release: 2.4.14
### Latest Published Release: 2.4.15

This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.

Expand Down
2 changes: 1 addition & 1 deletion dist/larvitar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/larvitar.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/documentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ <h3> </h3>
<h1 id="larvitar">Larvitar</h1>
<p><a href="https://github.com/dvisionlab/Larvitar"><img src="https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&amp;prefix=%E2%89%A5&amp;suffix=%25&amp;query=$.typeCoverage.atLeast&amp;uri=https%3A%2F%2Fraw.githubusercontent.com%2Fplantain-00%2Ftype-coverage%2Fmaster%2Fpackage.json" alt="type-coverage"></a></p>
<h2 id="dicom-image-toolkit-for-cornerstonejs">Dicom Image Toolkit for CornerstoneJS</h2>
<h3 id="current-version%3A-2.4.14">Current version: 2.4.14</h3>
<h3 id="latest-published-release%3A-2.4.14">Latest Published Release: 2.4.14</h3>
<h3 id="current-version%3A-2.4.15">Current version: 2.4.15</h3>
<h3 id="latest-published-release%3A-2.4.15">Latest Published Release: 2.4.15</h3>
<p>This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.</p>
<h2 id="features%3A">Features:</h2>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/larvitar.js

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions imaging/imageIo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ export const buildDataAsync = function (
let data = new typedArray(len);
let offsetData = 0;

series.imageIds = getSortedStack(series as Series, ["imagePosition"], true);

let imageIds = series.imageIds.slice();
let imageIds = getSortedStack(series as Series, ["imagePosition"], true);
store.addSeriesId(series.seriesUID, series.imageIds);

function runFillPixelData(data: TypedArray) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"medical",
"cornerstone"
],
"version": "2.4.14",
"version": "2.4.15",
"description": "typescript library for parsing, loading, rendering and interacting with DICOM images",
"repository": {
"url": "https://github.com/dvisionlab/Larvitar.git",
Expand Down

0 comments on commit edb4870

Please sign in to comment.