From 0c71981f4661a63b5c83b2207869d2d282195a62 Mon Sep 17 00:00:00 2001
From: actb <andrew.r.cohen@drexel.edu>
Date: Wed, 24 Feb 2021 09:30:34 -0500
Subject: [PATCH] CheckJarPath early out if isdeployed()

---
 .../+MicroscopeData/+Original/+BioFormats/CheckJarPath.m       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/MATLAB/+MicroscopeData/+Original/+BioFormats/CheckJarPath.m b/src/MATLAB/+MicroscopeData/+Original/+BioFormats/CheckJarPath.m
index 42ae0e4..ad0b08f 100644
--- a/src/MATLAB/+MicroscopeData/+Original/+BioFormats/CheckJarPath.m
+++ b/src/MATLAB/+MicroscopeData/+Original/+BioFormats/CheckJarPath.m
@@ -2,6 +2,9 @@ function CheckJarPath()
 %CHECKJARPATH Summary of this function goes here
 %   Detailed explanation goes here
 
+if isdeployed()
+    return
+end
 %% ensure that the bioformats jar file is on the path
 dynamicPaths = javaclasspath('-dynamic');
 bfIsLoaded = false;
-- 
GitLab