File tree Expand file tree Collapse file tree
src/main/java/org/mastodon/mamut/io/importer/trackmate Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454import static org .mastodon .mamut .io .importer .trackmate .TrackMateXMLKeys .FOLDER_ATTRIBUTE ;
5555import static org .mastodon .mamut .io .importer .trackmate .TrackMateXMLKeys .FRAME_ATTRIBUTE ;
5656import static org .mastodon .mamut .io .importer .trackmate .TrackMateXMLKeys .FRAME_FEATURE_NAME ;
57+ import static org .mastodon .mamut .io .importer .trackmate .TrackMateXMLKeys .FRAME_INTERVAL_ATTRIBUTE ;
5758import static org .mastodon .mamut .io .importer .trackmate .TrackMateXMLKeys .GUI_STATE_TAG ;
5859import static org .mastodon .mamut .io .importer .trackmate .TrackMateXMLKeys .HEIGHT_ATTRIBUTE ;
5960import static org .mastodon .mamut .io .importer .trackmate .TrackMateXMLKeys .ID_FEATURE_NAME ;
@@ -361,6 +362,7 @@ private Element imageDataToXml()
361362 attributes .add ( new Attribute ( PIXEL_WIDTH_ATTRIBUTE , Double .toString ( pixelWidth ) ) );
362363 attributes .add ( new Attribute ( PIXEL_HEIGHT_ATTRIBUTE , Double .toString ( pixelHeight ) ) );
363364 attributes .add ( new Attribute ( VOXEL_DEPTH_ATTRIBUTE , Double .toString ( voxelDepth ) ) );
365+ attributes .add ( new Attribute ( FRAME_INTERVAL_ATTRIBUTE , Double .toString ( 1. ) ) );
364366
365367 final Element timePointsElement = document
366368 .getRootElement ()
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ public class TrackMateXMLKeys
125125
126126 public static final String NFRAMES_ATTRIBUTE = "nframes" ;
127127
128+ public static final String FRAME_INTERVAL_ATTRIBUTE = "timeinterval" ;
129+
128130 public static final String PIXEL_WIDTH_ATTRIBUTE = "pixelwidth" ;
129131
130132 public static final String PIXEL_HEIGHT_ATTRIBUTE = "pixelheight" ;
You can’t perform that action at this time.
0 commit comments