Skip to content

Commit ada78d0

Browse files
committed
Update documentation
1 parent 8ca5d86 commit ada78d0

27 files changed

+1547
-259
lines changed

docs/api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="api.ht
125125
<br class="clear">
126126

127127
<footer>
128-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sat Sep 12 2020 17:54:34 GMT-0400 (Eastern Daylight Time)
128+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sun Nov 29 2020 13:38:48 GMT-0500 (Eastern Standard Time)
129129
</footer>
130130

131131
<script> prettyPrint(); </script>

docs/dicom-microscopy-viewer.js.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h1 class="page-title">Source: dicom-microscopy-viewer.js</h1>
5454
* @deprecated use the viewer namespace instead
5555
*/
5656
const api = {
57-
VLWholeSlideMicroscopyViewer: VolumeImageViewer
57+
VLWholeSlideMicroscopyImageViewer: VolumeImageViewer
5858
};
5959

6060
/** Namespace for the viewer.
@@ -114,7 +114,7 @@ <h1 class="page-title">Source: dicom-microscopy-viewer.js</h1>
114114
mapPixelCoordToSlideCoord,
115115
};
116116

117-
export { events, metadata, roi, scoord3d, utils, viewer };
117+
export { api, events, metadata, roi, scoord3d, utils, viewer };
118118
</code></pre>
119119
</article>
120120
</section>
@@ -131,7 +131,7 @@ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="api.ht
131131
<br class="clear">
132132

133133
<footer>
134-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sat Sep 12 2020 17:54:34 GMT-0400 (Eastern Daylight Time)
134+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sun Nov 29 2020 13:38:48 GMT-0500 (Eastern Standard Time)
135135
</footer>
136136

137137
<script> prettyPrint(); </script>

docs/events.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="api.ht
123123
<br class="clear">
124124

125125
<footer>
126-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sat Sep 12 2020 17:54:34 GMT-0400 (Eastern Daylight Time)
126+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sun Nov 29 2020 13:38:48 GMT-0500 (Eastern Standard Time)
127127
</footer>
128128

129129
<script> prettyPrint(); </script>

docs/events.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="api.ht
6464
<br class="clear">
6565

6666
<footer>
67-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sat Sep 12 2020 17:54:34 GMT-0400 (Eastern Daylight Time)
67+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sun Nov 29 2020 13:38:48 GMT-0500 (Eastern Standard Time)
6868
</footer>
6969

7070
<script> prettyPrint(); </script>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="api.ht
183183
<br class="clear">
184184

185185
<footer>
186-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sat Sep 12 2020 17:54:34 GMT-0400 (Eastern Daylight Time)
186+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sun Nov 29 2020 13:38:48 GMT-0500 (Eastern Standard Time)
187187
</footer>
188188

189189
<script> prettyPrint(); </script>

docs/metadata.VLWholeSlideMicroscopyImage.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h4 class="name" id="VLWholeSlideMicroscopyImage"><span class="type-signature"><
9494

9595
<dt class="tag-source">Source:</dt>
9696
<dd class="tag-source"><ul class="dummy"><li>
97-
<a href="metadata.js.html">metadata.js</a>, <a href="metadata.js.html#line122">line 122</a>
97+
<a href="metadata.js.html">metadata.js</a>, <a href="metadata.js.html#line128">line 128</a>
9898
</li></ul></dd>
9999

100100

@@ -162,7 +162,7 @@ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="api.ht
162162
<br class="clear">
163163

164164
<footer>
165-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sat Sep 12 2020 17:54:34 GMT-0400 (Eastern Daylight Time)
165+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sun Nov 29 2020 13:38:48 GMT-0500 (Eastern Standard Time)
166166
</footer>
167167

168168
<script> prettyPrint(); </script>

docs/metadata.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="api.ht
296296
<br class="clear">
297297

298298
<footer>
299-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sat Sep 12 2020 17:54:34 GMT-0400 (Eastern Daylight Time)
299+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sun Nov 29 2020 13:38:48 GMT-0500 (Eastern Standard Time)
300300
</footer>
301301

302302
<script> prettyPrint(); </script>

docs/metadata.js.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,21 @@ <h1 class="page-title">Source: metadata.js</h1>
101101
} else if ('Value' in elements[tag]) {
102102
const value = elements[tag]['Value'];
103103
if (vr === 'SQ') {
104-
dataset[keyword] = value.map(item => {
105-
return loadJSONDataset(item);
106-
});
104+
dataset[keyword] = value.map(item => loadJSONDataset(item));
107105
} else {
108106
// Handle value multiplicity.
109107
if (value.length === 1) {
110-
dataset[keyword] = value[0];
108+
if (vr === 'DS' || vr === 'IS') {
109+
dataset[keyword] = Number(value[0]);
110+
} else {
111+
dataset[keyword] = value[0];
112+
}
111113
} else {
112-
dataset[keyword] = value;
114+
if (vr === 'DS' || vr === 'IS') {
115+
dataset[keyword] = value.map(v => Number(v));
116+
} else {
117+
dataset[keyword] = value;
118+
}
113119
}
114120
}
115121
} else {
@@ -178,7 +184,7 @@ <h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="api.ht
178184
<br class="clear">
179185

180186
<footer>
181-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sat Sep 12 2020 17:54:34 GMT-0400 (Eastern Daylight Time)
187+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sun Nov 29 2020 13:38:48 GMT-0500 (Eastern Standard Time)
182188
</footer>
183189

184190
<script> prettyPrint(); </script>

0 commit comments

Comments
 (0)