Mercurial > repos > imgteam > libcarna_render
changeset 3:e07bfdcb1d26 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/libcarna/ commit 9abf60fee6ba4f5d4f4a18d8f4d33e6263b3c065
| author | imgteam |
|---|---|
| date | Tue, 06 Jan 2026 11:26:30 +0000 |
| parents | 7188234ae8f6 |
| children | 8fa86f0ebca2 |
| files | README.md render.py render.xml |
| diffstat | 3 files changed, 13 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/README.md Tue Jan 06 01:29:49 2026 +0000 +++ b/README.md Tue Jan 06 11:26:30 2026 +0000 @@ -10,7 +10,7 @@ ```bash --gpus all -e NVIDIA_VISIBLE_DEVICES=all -e NVIDIA_DRIVER_CAPABILITIES=graphics,compute ``` -Otherwise, the tool runs with software rendering, whuch is much slower. +Otherwise, the tool runs with software rendering, which is much slower. When using `planemo test`, the full command line is: ```bash
--- a/render.py Tue Jan 06 01:29:49 2026 +0000 +++ b/render.py Tue Jan 06 11:26:30 2026 +0000 @@ -126,12 +126,15 @@ mode.cmap(tool.args.params['colormap'], **cmap_kwargs) # Render + colorbars = list() + if tool.args.params['colorbar']: + colorbars.append(mode.cmap.bar(intensities_volume)) html = libcarna.imshow( libcarna.animate( libcarna.animate.rotate_local(camera), n_frames=tool.args.params['video']['frames'], ).render(r, camera), - mode.cmap.bar(intensities_volume), + *colorbars, fps=tool.args.params['video']['fps'], )
--- a/render.xml Tue Jan 06 01:29:49 2026 +0000 +++ b/render.xml Tue Jan 06 11:26:30 2026 +0000 @@ -19,7 +19,7 @@ <xml name="params/builtin_cmap"> <conditional name="ramp"> <param name="enabled" type="select" label="Ramp function" - help="Use a piecewise linear ramp function for the alpha channel of the colormap."> + help="Use a piecewise linear ramp function for the alpha channel of the color map."> <option value="false" selected="true">Disabled</option> <option value="true">Enabled</option> </param> @@ -77,7 +77,7 @@ <container type="docker">docker.io/kostrykin/libcarna-python:@TOOL_VERSION@-0</container> </requirements> <required_files> - <include type="literal" path="clip_image.py"/> + <include type="literal" path="render.py"/> <exclude type="literal" path="README.md"/> </required_files> <command detect_errors="aggressive"><