Skip to content

Commit

Permalink
Clean up some FIXME comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tischi committed Jun 13, 2024
1 parent a67b88e commit 2da154a
Show file tree
Hide file tree
Showing 27 changed files with 33 additions and 951 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/embl/mobie/DataStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public static void putImages( Collection< ? extends Image< ? > > images )

public static void clearImages()
{
// FIXME Caching: https://github.com/mobie/mobie-viewer-fiji/issues/813
// TODO: Caching: https://github.com/mobie/mobie-viewer-fiji/issues/813
images.clear();
}

Expand Down
7 changes: 1 addition & 6 deletions src/main/java/org/embl/mobie/MoBIE.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,6 @@ private void initTableSaw()

private void openMoBIEProject() throws IOException
{
// FIXME: Get rid of setS3AccessAndSecretKey,
// currently still needed by
// ProjectJsonParser() => ???
// Other functions that need to read JSON files
// probably some Metadata from Image fetcher methods => Use DataStore for this
S3Utils.setS3AccessAndSecretKey( settings.values.getS3AccessAndSecretKey() );

setProjectImageAndTableRootLocations();
Expand Down Expand Up @@ -557,7 +552,7 @@ public String absolutePath( String... files )
}

@Deprecated
// FIXME https://github.com/bigdataviewer/bigdataviewer-playground/issues/259#issuecomment-1279705489
// TODO https://github.com/bigdataviewer/bigdataviewer-playground/issues/259#issuecomment-1279705489
public void closeSourceAndConverter( SourceAndConverter< ? > sourceAndConverter, boolean closeImgLoader )
{
SourceAndConverterServices.getBdvDisplayService().removeFromAllBdvs( sourceAndConverter );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected void applyTransform( AffineTransform3D affineTransform3D )

createAndSaveAffineTransformedImages( movingImages, affineTransform3D, suffix );

// FIXME close the Command UI, HOW?
// TODO close the Command UI, HOW?
// https://imagesc.zulipchat.com/#narrow/stream/327238-Fiji/topic/Close.20Scijava.20Command.20UI
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import java.util.*;

import static sc.fiji.bdvpg.bdv.BdvHandleHelper.getWindowCentreInPixelUnits;

// FIXME: Make a simplified version of this that does not do the "stack" thing
// TODO: Make a simplified version of this that does not do the "stack" thing

@Plugin(type = BdvPlaygroundActionCommand.class, menuPath = CommandConstants.CONTEXT_MENU_ITEMS_ROOT + "Transform>Registration - Automatic 2D/3D")
public class AutomaticRegistrationCommand extends AbstractRegistrationCommand
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class OpenImageAndLabelsCommand implements Command {

static { net.imagej.patcher.LegacyInjector.preinit(); }

// FIXME: https://forum.image.sc/t/scijava-ui-open-both-file-and-directory/97389
// TODO: https://forum.image.sc/t/scijava-ui-open-both-file-and-directory/97389
@Parameter( label = "Image URI", style = "both", required = false )
public File image;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public SourcesFromTableCreator( String tablePath, List< String > imageColumns, L
StringColumn imageColumn = table.stringColumn( imageColumnName );
for ( String imagePath : imageColumn )
{
// FIXME It would be nice to shorten the names, e.g. by removing everything that is common to all image paths
// TODO: It would be nice to shorten the names, e.g. by removing everything that is common to all image paths
uniqueRegionNames.add( imagePath );
}
final List< String > regions = new ArrayList<>( uniqueRegionNames );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private SourceAndConverter createSourceAndConverter( AbstractAnnotationDisplay<
final BoundarySource boundarySource = new BoundarySource( source, false, 0.0F, image.getMask() );
final Converter< AnnotationType< A >, ARGBType > annotationARGBConverter = new AnnotationARGBConverter<>( display.coloringModel );
final TransformedSource transformedBoundarySource = new TransformedSource( boundarySource );
// FIXME: This is an issue if those sources are transformed, because the underlying image will not know about it
// FIXME: If those sources are transformed the underlying image will not know about it

if ( image.getSourcePair().getVolatileSource() != null )
{
Expand Down
Loading

0 comments on commit 2da154a

Please sign in to comment.