Skip to content

Commit e36992f

Browse files
committed
GUI: Fix adjective/noun form
1 parent de37f2a commit e36992f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/main/java/sc/fiji/snt/SNTUI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3091,7 +3091,7 @@ private JMenu analysisMenu() {
30913091
inputs.put("trees", trees);
30923092
new DynamicCmdRunner(PersistenceAnalyzerCmd.class, inputs).run();
30933093
});
3094-
ScriptRecorder.setRecordingCall(tmdMenuItem, "snt.getUI().runCommand(\"Persistence Homology...\")");
3094+
ScriptRecorder.setRecordingCall(tmdMenuItem, "snt.getUI().runCommand(\"Persistent Homology...\")");
30953095
analysisMenu.add(tmdMenuItem);
30963096
final JMenuItem rootAnalysisMenuItem = GuiUtils.MenuItems.rootAngleAnalysis();
30973097
rootAnalysisMenuItem.addActionListener(e -> {

src/main/java/sc/fiji/snt/gui/GuiUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2983,7 +2983,7 @@ public static JMenuItem combineCharts() {
29832983
}
29842984

29852985
public static JMenuItem persistenceAnalysis() {
2986-
final JMenuItem jmi = new JMenuItem("Persistence Homology...", IconFactory.menuIcon(GLYPH.BARCODE));
2986+
final JMenuItem jmi = new JMenuItem("Persistent Homology...", IconFactory.menuIcon(GLYPH.BARCODE));
29872987
jmi.setToolTipText("TMD, TMD variants, and Persistence landscapes");
29882988
return jmi;
29892989
}

src/main/java/sc/fiji/snt/gui/cmds/PersistenceAnalyzerCmd.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
import java.util.concurrent.atomic.AtomicBoolean;
3838

3939
/**
40-
* GUI command persistence homology analyses.
40+
* GUI command persistent homology analyses.
4141
* @author Tiago Ferreira
4242
*/
43-
@Plugin(type = Command.class, visible = false, label = "Persistence Homology")
43+
@Plugin(type = Command.class, visible = false, label = "Persistent Homology")
4444
public class PersistenceAnalyzerCmd extends ContextCommand {
4545

4646
@Parameter
@@ -96,7 +96,7 @@ public void run() {
9696
trees.forEach(tree -> {if (!parseTree(tree, table)) failure.set(true);});
9797
table.fillEmptyCells(Double.NaN);
9898
table.replace("TMD", 0, Double.NaN);
99-
table.show(String.format("Persistence Homology Table [%s]", descriptorChoice));
99+
table.show(String.format("Persistent Homology Table [%s]", descriptorChoice));
100100
if (failure.get())
101101
logService.error("Some tree(s) could not be parsed... More details may be available in debug mode");
102102
}

0 commit comments

Comments
 (0)