Skip to content

Commit 93a11eb

Browse files
elevanshinerm
authored andcommitted
Add environment.yml file config to scyjava usecase
1 parent 3f918a8 commit 93a11eb

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

docs/ops/doc/examples/scyjava.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,26 @@ the 3D volume of the nucleus by creating a mesh. Finally the input image, proces
1010

1111
.. figure:: https://media.imagej.net/scijava-ops/1.0.0/scyjava_example_1.png
1212

13+
14+
To run this example, create a conda/mamba environment with the following ``environment.yml`` file:
15+
16+
.. code-block:: yaml
17+
18+
name: scijava-ops
19+
channels:
20+
- conda-forge
21+
- defaults
22+
dependencies:
23+
- scyjava
24+
- imglyb
25+
- tifffile
26+
- matplotlib
27+
- requests
28+
- openjdk >= 17
29+
30+
31+
Activate the ``scijava-ops`` conda/mamba environment and run the following Python script:
32+
1333
.. code-block:: python
1434
1535
import io
@@ -133,4 +153,4 @@ the 3D volume of the nucleus by creating a mesh. Finally the input image, proces
133153
plt.tight_layout()
134154
plt.show()
135155
136-
.. _`3D HeLa cell`: https://media.imagej.net/scijava-ops/1.0.0/hela_nucleus.tif
156+
.. _`3D HeLa cell`: https://media.imagej.net/scijava-ops/1.0.0/hela_nucleus.tif

0 commit comments

Comments
 (0)