Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Curtis Rueden
    @ctrueden
    All I ask is that you clone imagej-launcher locally, build locally, and actually test that it fixes your problem when you lower that value.
    And do some testing to determine exactly how low you need to put the bar.
    Then, you can file a PR with that new number.
    Stefan Helfrich
    @stelfrich
    Will do.
    Curtis Rueden
    @ctrueden
    @/all New version of ImageJ released: 2.0.0-rc-47. Lots of new stuff, including a revamped (but still buggy/alpha-level!) Script Interpreter. Also fixes the long-standing inability to use "choices" in a parameterized script, as well as a recent BeanShell bug. And tons of other things I don't have time to to mention at this moment.
    ChrisWeisiger
    @ChrisWeisiger
    @ctrueden Any idea when the new Beanshell jar will be added to maven.imagej.net?
    Curtis Rueden
    @ctrueden
    @ChrisWeisiger There was a release after 2.0b6?
    Version 2.0b6 is already on Maven Central, and we ship it with ImageJ...
    Note that the groupId changed though. See http://maven.imagej.net/index.html#nexus-search;gav~~bsh~~~
    See also beanshell/beanshell#17
    ChrisWeisiger
    @ChrisWeisiger
    Ah ha.
    My problem was that I was searching for "beanshell".
    Which only turns up the 2.0b4 jar.
    Thanks!
    Curtis Rueden
    @ctrueden
    :-)
    ChrisWeisiger
    @ChrisWeisiger
    Incidentally, upgrading Beanshell does fix one bug we found in it, but not another.
    I'm not entirely clear on exactly what's going on, but micro-manager/micro-manager#170 details the issue.
    Basically, if you define a function in a REPL (read-eval-print loop), then you can't later redefine it; the name you assign to that function is permanent AFAICT.
    (In 2.0b4 the same was true of functions defined in scripts, which was a major problem for script development, but 2.0b6 fixes that...for some unknown reason)
    Curtis Rueden
    @ctrueden
    @ChrisWeisiger Interesting. Incidentally: did you know there is a new SciJava REPL that works with all SJ script languages?
    So you guys use ..
    What? A bsh-specific repl?
    Do your scripts suffer from bsh's "null vs void" problem?
    Stefan Helfrich
    @stelfrich

    All I ask is that you clone imagej-launcher locally, build locally, and actually test that it fixes your problem when you lower that value.

    @ctrueden: I was about to do that and I am struggling with the compilation on Windows. Is there any source of information on the topic?

    Curtis Rueden
    @ctrueden
    Running "mvn" is not enough? I can double check how the Jenkins job works on Windows.
    The 32-bit portion of the build script is:
    # build 32-bit
    
    UNAME="$(uname -s)"
    case "$UNAME" in
    Linux)
        (export JAVA_HOME=/home/dscho/fiji/java/linux/jdk1.6.0_24 &&
         export PATH=$JAVA_HOME/bin:$PATH &&
         mvn -P i386-Linux,copy-launchers -P !amd64-Linux -X install)
        ;;
    MINGW*)
    (export JAVA_HOME=$(cd /src/fiji/java/win32/jdk1.6.0_24 && pwd -W) &&
         export PATH=/c/msysgit/mingw/bin:/c/msysgit/bin:$JAVA_HOME/bin:$PATH &&
         mvn -Pcopy-launchers -U -Dos.arch=x86 -X -e install)
    esac
    So, it uses msysgit.
    It will be really nice not to maintain the launcher anymore...
    @stelfrich If you like, another thing you could test is the JavaFX launcher, to see whether that resolves the issue.
    git clone git://github.com/imagej/imagej
    cd imagej
    mvn -Pdist
    ChrisWeisiger
    @ChrisWeisiger
    @ctrueden I didn't know that, no. One of the things on our extensive to-do list is to revisit our scripting system.
    It'd be great if we supported more (and better) languages than Beanshell.
    It has a main method which launches it on the CLI.
    And there is a new intepreter GUI written in Swing which uses it, too. You can test it using this class, or in ImageJ2 itself by pressing shift+[.
    Curtis Rueden
    @ctrueden
    It would be great if people like yourself helped to make it a truly useful cross-application thing, instead of just "ImageJ's REPL"
    Curtis Rueden
    @ctrueden
    I should note that the GUI REPL fails to work well with some languages (Clojure, Jython, R and Scala are not working yet for various reasons). Groovy works well though!
    Stefan Helfrich
    @stelfrich
    @ctrueden: I couldn’t figure out a build environment that worked for me. Cygwin and MinGW failed even with some hours of trying. I’ll try again tomorrow..
    ChrisWeisiger
    @ChrisWeisiger
    @ctrueden Thanks for the info! Noting it down now for when we get a chance to work on this...
    renfang2016
    @renfang2016
    Hello, there, I have an Image J question, anybody can help please?
    Curtis Rueden
    @ctrueden
    @renfang2016 Feel free to go ahead.
    renfang2016
    @renfang2016
    I am trying to save a sequential numbers of images to one fine at BMP format, but the software I used did not read all the images numbers. It only shows one image number.
    @ctrueden
    Curtis Rueden
    @ctrueden
    Note also that there is an ImageJ Forum with many more people available to help you.
    renfang2016
    @renfang2016
    I am trying to save a sequential numbers of images to one fine at BMP format, but the software I used did not read all the images numbers. It only shows one image number.
    Curtis Rueden
    @ctrueden
    You are trying to save multiple image planes into a single BMP? The BMP format does not support that.
    renfang2016
    @renfang2016
    yes
    Curtis Rueden
    @ctrueden
    You can only save a single image plane to BMP. Try saving as TIFF or perhaps APNG.
    renfang2016
    @renfang2016
    Tree surveyer did not support other format except for BMP