forked from ome/bioformats
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathomeul
More file actions
executable file
·29 lines (23 loc) · 883 Bytes
/
Copy pathomeul
File metadata and controls
executable file
·29 lines (23 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# omeul: a command-line client-side import tool for OME
# Required JARs: loci_tools.jar
# JAR libraries must be in the same directory as this
# command line script for the command to function.
# If you are a developer working from source and have
# the LOCI classes in your CLASSPATH, you can set the
# LOCI_DEVEL environment variable to use them instead.
PROG=loci.formats.ome.OMEWriter
DIR=`dirname "$0"`
if [ $LOCI_DEVEL ]
then
java -mx512m $PROG "$@"
elif [ -e "$DIR/loci_tools.jar" ] || [ -e "$DIR/bio-formats.jar" ]
then
java -mx512m -cp "$DIR":"$DIR/bio-formats.jar":"$DIR/loci_tools.jar" $PROG "$@"
else
echo "Required JAR libraries not found. Please download:"
echo " loci_tools.jar"
echo "from:"
echo " http://www.openmicroscopy.org/site/products/bio-formats/downloads"
echo "and place in the same directory as the command line tools."
fi