Code Monkey home page Code Monkey logo

Comments (5)

hinerm avatar hinerm commented on June 3, 2024

@ctrueden any thoughts on how to resolve this?

from tutorials.

ctrueden avatar ctrueden commented on June 3, 2024

So firstly, we need to release a new imagej-common which incorporates the DefaultDatasetService fixes. Then update the dependency in the tutorials.

Secondly, there is a general question about the purpose of the tutorials. Is the purpose still to showcase IJ2, and only IJ2? Or to showcase net.imagej:imagej in general, including the ImageJ 1.x legacy support? While the focus of the tutorials was indeed to show off new API, it should certainly be the case that that new API also works when the legacy layer is present (or not). Otherwise, it is a bug.

In short: I think we should not worry about imagej-legacy being on the classpath, but rather fix that AIOOBE.

from tutorials.

9037568 avatar 9037568 commented on June 3, 2024

I see "This can be resolved by updating to a version after this commit: imagej/imagej-common@e11b772", but I've done that and still get the RU error. I think it's because imagej-tutorials depends on some pom 3000 levels higher up the tree, which is still loading the 0.10.1 imagej-common:

[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ load-and-display-dataset ---
[INFO] imagej-tutorials:load-and-display-dataset:jar:1.0.0-SNAPSHOT
[INFO] - net.imagej:imagej:jar:2.0.0-rc-17:compile
[INFO] +- net.imagej:imagej-common:jar:0.10.1:compile

How does one tell imagej-tutorials to use the latest snapshot of imagej instead?

from tutorials.

ctrueden avatar ctrueden commented on June 3, 2024

@9037568 All components use release couplings by default, for reproducible builds.

You can override this in the imagej-tutorials base POM by writing:

<properties>
    <imagej-common.version>LATEST</imagej-common.version>
</properties>

Or, you can create a file ~/.scijava/dev.imagej (contents don't matter) which will enable a profile that sets all ImageJ components to LATEST version.

See http://imagej.net/Architecture#Using_snapshot_couplings_during_development for details.

from tutorials.

hinerm avatar hinerm commented on June 3, 2024

This exception was due to a problem introduced when converting from FormatTools to IntervalIndexer. It should be fixed in imagej/imagej-legacy@404ec2a

from tutorials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.