Skip to content

Commit

Permalink
minor update with bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerHeintzmann committed Dec 2, 2024
1 parent 25430a2 commit be6db56
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Artifacts.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ]add Tar, Inflate, SHA
# using Tar, Inflate, SHA

# V = 2; VV = 5; VVV = 5; Suffix = "-SNAPSHOT";
# V = 2; VV = 5; VVV = 5; Suffix = "-SNAPSHOT2";
# include("src\\get_artifact_info.jl")
# replace the code below with the printout
#
Expand All @@ -16,9 +16,9 @@
# https://github.com/bionanoimaging/View5D/releases/download/View5D_v2.5.5/View5D_-2.5.5-SNAPSHOT-jar.tar.gz

[View5D-jar]
git-tree-sha1 = "f5cdfd2ee148e1a611dfb68c5943465443215ad7"
git-tree-sha1 = "03165924bebed3b19e96530c40bdda55852ac8b7"
lazy = true

[[View5D-jar.download]]
url = "https://github.com/bionanoimaging/View5D/releases/download/View5D_v2.5.5/View5D_-2.5.5-SNAPSHOT-jar.tar.gz"
sha256 = "9a1bc42f4a25c1b3799c236c63f467e764fd9c121a6bfd6059b4cb824db4ebf2"
url = "https://github.com/bionanoimaging/View5D/releases/download/View5D_v2.5.5/View5D_-2.5.5-SNAPSHOT2-jar.tar.gz"
sha256 = "7fb7b386c7731b9c4b9267468ecfe23945fe1b81141a72bc84dd7ae0eb966121"
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "View5D"
uuid = "90d841e0-6953-4e90-9f3a-43681da8e949"
authors = ["rheintzmann <[email protected]>"]
version = "0.6.0"
version = "0.6.1"

[deps]
AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![codecov](https://codecov.io/gh/RainerHeintzmann/View5D.jl/branch/master/graph/badge.svg?token=2Ayxc30CAR)](https://codecov.io/gh/RainerHeintzmann/View5D.jl)
[![CI](https://github.com/RainerHeintzmann/View5D.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/RainerHeintzmann/View5D.jl/actions/workflows/ci.yml)

For information on using the [Java-based View5D](https://github.com/bionanoimaging/View5D) see the [Documentation](https://nanoimaging.de/View5D/) with Tutorials, a [Command Reference](https://nanoimaging.de/View5D/View5DCommandReference.html) and a [Cheat-Sheet](https://nanoimaging.de/View5D/CheatSheet.pdf).
For information on using the [Java-based View5D](https://github.com/bionanoimaging/View5D) see the [Documentation](https://nanoimaging.de/View5D/) with Tutorials, a [Command Reference](https://nanoimaging.de/View5D/View5DCommandReference.html) and a [Cheat-Sheet](https://nanoimaging.de/View5D/CheatSheet.pdf) and tutorial [videos](https://www.youtube.com/watch?v=fqa82MmJlAA&list=PL3LueK3ij6Wm2VjaaibNdulxFvA6VhVRv).

# Installation
You can install the latest release via:
Expand Down
10 changes: 5 additions & 5 deletions src/viewer_core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ this applies to keys sent to the viewer, which can be send to a choice of window
# This is the proper way to do this via artifacts:
rootpath = artifact"View5D-jar"
# @show rootpath = "C:\\Users\\pi96doc\\Documents\\Programming\\Java\\View5D"
const View5D_jar = joinpath(rootpath, "View5D_-2.5.5-SNAPSHOT.jar")
const View5D_jar = joinpath(rootpath, "View5D_-2.5.5-SNAPSHOT2.jar")
# my personal development version
# const View5D_jar = joinpath(rootpath, "View5D_v2.jar")

Expand Down Expand Up @@ -1182,8 +1182,8 @@ function start_viewer(viewer, myJArr, jtype="jfloat", mode::DisplayMode = DisplN
viewer_sizes[viewer][4] = get_num_elements(viewer) # to also account for user deletes
viewer_sizes[viewer][5] = get_num_times(viewer)
# viewer_sizes[myviewer] = viewer_sizes[viewer] # one would assume that the reference does not change but it does ...
set_element(-1) # go to the last element
process_keys("t",viewer)
set_element(-1, viewer) # go to the last element
process_keys("t", viewer)
if !isnothing(name)
# E = get_num_elements()-1
set_element_name(e+e_offset, name, viewer)
Expand All @@ -1208,11 +1208,11 @@ function start_viewer(viewer, myJArr, jtype="jfloat", mode::DisplayMode = DisplN
myJArr[t*size4d+1:end],sizeX, sizeY, sizeZ, sizeE, sizeT);
viewer_sizes[viewer][5] = get_num_times(viewer)
for e in 0: get_num_elements()-1 # just to normalize colors and set names
set_element(e) # go to the this element
set_element(e, viewer) # go to the this element
if !isnothing(name)
set_element_name(e, name, viewer)
end
process_keys("t",viewer)
process_keys("t", viewer)
end
if !isnothing(properties)
set_properties(properties, viewer, element=:, time=t)
Expand Down

0 comments on commit be6db56

Please sign in to comment.