diff --git a/Artifacts.toml b/Artifacts.toml index 2834877..169e2e7 100644 --- a/Artifacts.toml +++ b/Artifacts.toml @@ -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 # @@ -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" diff --git a/Project.toml b/Project.toml index 8619f36..8ac3b7c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "View5D" uuid = "90d841e0-6953-4e90-9f3a-43681da8e949" authors = ["rheintzmann "] -version = "0.6.0" +version = "0.6.1" [deps] AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9" diff --git a/README.md b/README.md index 2a4364f..d0b5328 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/src/viewer_core.jl b/src/viewer_core.jl index b73a065..96e201f 100644 --- a/src/viewer_core.jl +++ b/src/viewer_core.jl @@ -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") @@ -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) @@ -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)