Skip to content
Snippets Groups Projects
Commit 5f9d8db0 authored by Kai Schleicher's avatar Kai Schleicher
Browse files

Change to work with older versions of TrackMate

parent ea0aab15
Branches
No related tags found
No related merge requests found
......@@ -198,8 +198,8 @@ def run_trackmate_dog_spot_detector(imp, spot_diameter, quality_threshold):
exportSpotsAsDots = True
exportTracksOnly = False
labelIdPainting = LabelImgExporter.LabelIdPainting.LABEL_IS_INDEX_MOVIE_UNIQUE
label_imp = LabelImgExporter.createLabelImagePlus(trackmate, exportSpotsAsDots, exportTracksOnly, labelIdPainting)
# labelIdPainting = LabelImgExporter.LabelIdPainting.LABEL_IS_INDEX_MOVIE_UNIQUE
label_imp = LabelImgExporter.createLabelImagePlus(trackmate, exportSpotsAsDots, exportTracksOnly, False) # labelIdPainting (needed in a future verion of TM)
label_imp.setCalibration(cal)
imp.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment