From 93726efbd307e20adbc7fedabac234cc4f19ccbd Mon Sep 17 00:00:00 2001
From: Tejas Guruswamy <tguruswamy@anl.gov>
Date: Wed, 5 Apr 2023 19:08:56 -0500
Subject: [PATCH] Formatting and a few comments

---
 build_imagej+ad_plugins.sh | 10 +++++-----
 start_imageJ               |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/build_imagej+ad_plugins.sh b/build_imagej+ad_plugins.sh
index 7be6099..a8c1ef7 100644
--- a/build_imagej+ad_plugins.sh
+++ b/build_imagej+ad_plugins.sh
@@ -18,7 +18,7 @@ ABREWE_PATCH=Y
 if [ ! -d ImageJ ]; then
     wget -c "http://wsr.imagej.net/distros/linux/ij${IMAGEJ_VER}-linux64-java8.zip"
     unzip -q "ij${IMAGEJ_VER}-linux64-java8.zip"
-    # Don't use git version, it's not built
+    # Don't use git version, it's not compiled
     #wget -c "https://github.com/imagej/ImageJ/archive/${IMAGEJ_VER}/ImageJ-v1.54d.tar.gz"
     #tar xf "ImageJ-${IMAGEJ_VER}.tar.gz"
     #mv "ImageJ-${IMAGEJ_VER#v}" ImageJ
@@ -95,10 +95,10 @@ pushd ImageJ
 
 # Not all files are plugins. Look for 'implements PlugIn' in source
 plugins=(
-    "EPICS_areaDetector/EPICS_AD_Viewer.java" 
-    "EPICS_areaDetector/EPICS_AD_Controller.java" 
-    "EPICS_areaDetector/EPICS_NTNDA_Viewer.java" 
-    "EPICS_areaDetector/Gaussian_Profiler.java" 
+    "EPICS_areaDetector/EPICS_AD_Viewer.java"
+    "EPICS_areaDetector/EPICS_AD_Controller.java"
+    "EPICS_areaDetector/EPICS_NTNDA_Viewer.java"
+    "EPICS_areaDetector/Gaussian_Profiler.java"
     "EPICS_areaDetector/Dynamic_Profiler.java"
     "hdf5/HDF5_Reader_Vibez.java"
     "hdf5/HDF5_Simple_Custom_Reader.java"
diff --git a/start_imageJ b/start_imageJ
index 72c2179..0dabb96 100755
--- a/start_imageJ
+++ b/start_imageJ
@@ -1,4 +1,5 @@
 #!/bin/bash
+# Example script to start ImageJ with compressed PVarray support from ADSupport. Adjust paths as necessary
 cd ${HOME}/ImageJ
 export EPICS_CA_MAX_ARRAY_BYTES=30000000
 export EPICS_CA_AUTO_ADDR_LIST=NO
-- 
GitLab