Mercurial > repos > imgteam > libcarna_render
diff render.py @ 3:31a2e1909ae5 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:05 +0000 |
| parents | 7d6be2b7e1e2 |
| children | a9f10dceb17e |
line wrap: on
line diff
--- a/render.py Tue Jan 06 01:29:23 2026 +0000 +++ b/render.py Tue Jan 06 11:26:05 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'], )
