Skip to content

Commit

Permalink
2.4
Browse files Browse the repository at this point in the history
BioConsole now works on Mac.
  • Loading branch information
BiologyTools committed Feb 28, 2023
1 parent af9a908 commit 9905cbd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions BioGTK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
<TargetFramework>net6.0</TargetFramework>
<OutputType>Library</OutputType>
<RuntimeIdentifiers>osx-x64;linux-x64;win7-x64;linux-arm64</RuntimeIdentifiers>
<AssemblyVersion>2.3.0</AssemblyVersion>
<FileVersion>2.3.0</FileVersion>
<AssemblyVersion>2.4.0</AssemblyVersion>
<FileVersion>2.4.0</FileVersion>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>BioGTK</PackageId>
<Title>BioGTK</Title>
<PackageProjectUrl>https://github.com/BiologyTools/BioGTK</PackageProjectUrl>
<PackageIcon>banner.jpg</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageVersion>2.3.0</PackageVersion>
<PackageVersion>2.4.0</PackageVersion>
<RepositoryUrl>https://github.com/BiologyTools/BioGTK</RepositoryUrl>
<PackageTags>Biology; GTK; ImageJ; Bio-Formats; Image-Stacks; Microscopy;</PackageTags>
<PackageLicenseExpression> GPL-3.0-only</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<Description>A .NET application &amp; library for editing &amp; annotating various microscopy image formats. Supports all bioformats supported images. Integrates with ImageJ, running ImageJ filters &amp; macro functions. Supports Windows, Linux and Mac.</Description>
<Version>2.3.0</Version>
<Version>2.4.0</Version>
<Platforms>AnyCPU;x64;ARM64</Platforms>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<PlatformTarget>x64</PlatformTarget>
Expand Down
6 changes: 3 additions & 3 deletions Source/ImageJ.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public static void RunOnImage(string con, int index, bool headless, bool onTab,
RunString(st, dir + "/" + ImageView.SelectedImage.ID, headless);
if (!File.Exists(file))
return;
//If not in images we add it to a new tab.

string s = filename;
if (bioformats)
s += "-temp.ome.tif";
Expand All @@ -154,7 +154,7 @@ public static void RunOnImage(string con, int index, bool headless, bool onTab,
string fn = filename + ".tif";
if (bioformats)
fn = filename + ".ome.tif";

//If not in images we add it to a new tab.
if (Images.GetImage(fn) == null)
{
BioImage bm = BioImage.OpenFile(f, index, false, false);
Expand All @@ -175,7 +175,7 @@ public static void RunOnImage(string con, int index, bool headless, bool onTab,
//If using bioformats we delete the temp file.
if(bioformats)
File.Delete(f);
// update progress bar on main UI thread
// update image on main UI thread
Application.Invoke(delegate
{
App.viewer.UpdateImage();
Expand Down

0 comments on commit 9905cbd

Please sign in to comment.