Skip to content

Commit d9dcc3b

Browse files
committed
Fix docstrings
1 parent e7f295c commit d9dcc3b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+883
-144
lines changed

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For more advanced usage, take a look at the [Slim](https://github.com/herrmannla
3333

3434
The viewer can be embedded in any website, one only needs to
3535

36-
* Create an instance of `viewer.VolumeViewer`. The constructor requires an instance of `DICOMwebClient` for retrieving frames from the archive as well as the metadata for each DICOM image instance.
36+
* Create an instance of [VolumeImageViewer](https://herrmannlab.github.io/dicom-microscopy-viewer/viewer.VolumeImageViewer.html). The constructor requires an instance of `DICOMwebClient` for retrieving frames from the archive as well as the metadata for each DICOM image as an instance of [VLWholeSlideMicroscopyImage](https://herrmannlab.github.io/dicom-microscopy-viewer/metadata.VLWholeSlideMicroscopyImage.html).
3737

3838
* Call the `render()` method, passing it the HTML element (or the name of the element), which shall contain the viewport.
3939

@@ -71,7 +71,7 @@ client.retrieveSeriesMetadata(retrieveOptions).then((metadata) => {
7171
});
7272

7373
// Render viewer instance in the "viewport" HTML element
74-
viewer.render({container: 'viewport'});
74+
viewer.render({ container: 'viewport' });
7575
});
7676
```
7777

@@ -106,24 +106,31 @@ Install the [dicom-microscopy-viewer](https://www.npmjs.com/package/dicom-micros
106106
npm install dicom-microscopy-viewer
107107
```
108108

109-
## Building & Testing
109+
## Development & Testing
110110

111-
We use [webpack](https://webpack.js.org/) for bundling and [Jest](https://github.com/facebook/jest) for testing.
111+
We use [Babel](https://babeljs.io/) to compile (transpile), [webpack](https://webpack.js.org/) to bundle, and [Jest](https://github.com/facebook/jest) to test JavaScript code.
112112

113-
Build:
113+
Get the source code by cloning the git repository:
114+
115+
```None
116+
git clone https://github.com/herrmannlab/dicom-microscopy-viewer
117+
cd dicom-microscopy-viewer
118+
```
119+
120+
Install dependencies and build the package:
114121

115122
```None
116123
npm install
117124
npm run build
118125
```
119126

120-
Test:
127+
Run tests:
121128

122129
```None
123130
npm run test
124131
```
125132

126-
Build the documentation:
133+
Build the API documentation:
127134

128135
```None
129136
npm run generateDocs

docs/annotation.AnnotationGroup.html

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

10971097
<footer>
1098-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
1098+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 11:29:56 GMT-0500 (Eastern Standard Time)
10991099
</footer>
11001100

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

docs/annotation.html

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

133133
<footer>
134-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
134+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 11:29:56 GMT-0500 (Eastern Standard Time)
135135
</footer>
136136

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

docs/annotation.js.html

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

761761
<footer>
762-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
762+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 11:29:56 GMT-0500 (Eastern Standard Time)
763763
</footer>
764764

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

docs/annotations__AnnotationManager.js.html

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

230230
<footer>
231-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
231+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 11:29:56 GMT-0500 (Eastern Standard Time)
232232
</footer>
233233

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

docs/annotations_markups__MarkupManager.js.html

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

555555
<footer>
556-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
556+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 11:29:56 GMT-0500 (Eastern Standard Time)
557557
</footer>
558558

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

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="annota
125125
<br class="clear">
126126

127127
<footer>
128-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
128+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 11:29:56 GMT-0500 (Eastern Standard Time)
129129
</footer>
130130

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

docs/color.PaletteColorLookupTable.html

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

681681
<footer>
682-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
682+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 11:29:56 GMT-0500 (Eastern Standard Time)
683683
</footer>
684684

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

docs/color.html

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

664664
<footer>
665-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
665+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 11:29:56 GMT-0500 (Eastern Standard Time)
666666
</footer>
667667

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

docs/color.js.html

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

461461
<footer>
462-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Mar 11 2022 16:15:51 GMT-0500 (Eastern Standard Time)
462+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Sat Mar 12 2022 11:29:56 GMT-0500 (Eastern Standard Time)
463463
</footer>
464464

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

0 commit comments

Comments
 (0)