Closed hinerm closed 3 years ago
@axtimwalde @acardona can one of you make this change? I do not have commit rights and am not sure how Polyline
usage should be updated.
@hinerm wrote:
the
ini.trakem2.display.Polyline
class is no longer present in SNT.
Polyline
is part of TrakEM2.
Polyline
is part of TrakEM2.
argh. Of course, thank you. Polyline
itself needs its imports updated to the new packages:
import sc.fiji.snt.Path;
import sc.fiji.snt.SearchInterface;
import sc.fiji.snt.SearchProgressCallback;
import sc.fiji.snt.TracerThread;
And these lines need to be updated for changed API/field visibility.
This can be replaced by result.size()
.
That one is more difficult. The getXYZUnscaled()
method was removed here:
@tferr can you suggest an alternative? Or can we re-introduce that method?
@tferr can you suggest an alternative? Or can we re-introduce that method?
I am assuming the individual X-Y-Z methods can be looped over from 0..result.size()
?
Yes! see #25 (https://github.com/trakem2/TrakEM2/pull/25/commits/07d67a947fd7c23d2b608c4b46b55f50338482cf?diff=split&w=1). The PR may be a bit outdated, but it does exactly that.
Yes! see #25 (07d67a9?diff=split&w=1). The PR may be a bit outdated, but it does exactly that.
@tferr oh perfect. I opened https://github.com/trakem2/TrakEM2/pull/28 which includes your changes and updates the pom as well, now that we have something to pin to.
As of pom-scijava 30.0.0, the Simple_Neurite_Tracer] dependency can now be updated to
org.morphonets:SNT
.https://github.com/trakem2/TrakEM2/blob/94e44580ebecafe036aeb96fa3150b7e4fa6f7af/pom.xml#L218-L226
Some migration is necessary as TrakEM2 as the
ini.trakem2.display.Polyline
class is no longer present inSNT
.