Guest User

Untitled

a guest
Nov 21st, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. # Run the macro in fiji headlessly using Xvfb
  2. # to avoid errors due to gui dependencies.
  3. export DISPLAY=:1
  4. Xvfb $DISPLAY -auth /dev/null &
  5. (
  6. # the ’(’ starts a new sub shell. In this sub shell we start the worker processes:
  7. java -Xmx6000m -cp jars/ij-1.51l-SNAPSHOT.jar ij.ImageJ -headless --console \
  8. -macro separate_nuclei.ijm \
  9. "input=$1, output=$2, scale_factor=$3"
  10. wait # waits until all ’program’ processes are finished
  11. # this wait sees only the ’program’ processes, not the Xvfb process
  12. )
Add Comment
Please, Sign In to add comment