Skip to content

Commit 160659b

Browse files
committed
Possibly use multiple threads when gap closing with detection.
1 parent 413a0c5 commit 160659b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/fiji/plugin/trackmate/action/closegaps/CloseGapsByDetection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public void execute( final TrackMate trackmate, final Logger logger )
108108
trackmate.getSettings() );
109109
final TrackMate localTM = new TrackMate( settings );
110110
localTM.getModel().setLogger( Logger.VOID_LOGGER );
111-
localTM.setNumThreads( 1 );
111+
localTM.setNumThreads( trackmate.getNumThreads() );
112112
if ( !localTM.execDetection() )
113113
{
114114
logger.error( "Error detecting spots around position " + Util.printCoordinates( source )

0 commit comments

Comments
 (0)