Skip to content

Commit

Permalink
purged CE
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuson committed Apr 11, 2024
1 parent ac27f37 commit a7501ab
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ out/
!**/src/test/**/out/

.idea
splitstreeCE.iml
*.iml

### Eclipse ###
.apt_generated
Expand Down
24 changes: 12 additions & 12 deletions installer/splitstree6.install4j
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<install4j version="10.0.6" transformSequenceNumber="10">
<directoryPresets config="../target/SplitsTreeApp-1.0.0-SNAPSHOT.jar" />
<application name="SplitsTreeApp" applicationId="5610-7746-7010-9445" mediaDir="../../../builds" shortName="SplitsTreeApp" publisher="Daniel H. Huson and David Bryant" publisherWeb="https://www.splitstree.org" version="0.0.0_beta" allPathsRelative="true" macVolumeId="b8c0a1154e563a9a" javaMinVersion="16">
<install4j version="10.0.7" transformSequenceNumber="10">
<directoryPresets config="../target/SplitsTree-1.0.0-SNAPSHOT.jar" />
<application name="SplitsTree" applicationId="5610-7746-7010-9445" mediaDir="../../../builds" shortName="SplitsTree" publisher="Daniel H. Huson and David Bryant" publisherWeb="http://splitstree.husonlab.org" version="6.0.0" allPathsRelative="true" macVolumeId="b8c0a1154e563a9a" javaMinVersion="16">
<variables>
<variable name="renderingVMOption" />
</variables>
Expand All @@ -15,7 +15,7 @@
<entry>install4j*</entry>
</macSearchedJars>
</codeSigning>
<jreBundles jdkProviderId="Liberica" release="20/20.0.2+10">
<jreBundles jdkProviderId="Liberica" release="22/22+37">
<modules />
</jreBundles>
</application>
Expand All @@ -35,7 +35,7 @@
<entry location="install4j-runtime-10.0.5.jar" />
</exclude>
</dirEntry>
<fileEntry mountPoint="1691242167" file="../target/SplitsTreeApp-1.0.0-SNAPSHOT.jar" />
<fileEntry mountPoint="1691242167" file="../target/SplitsTree-1.0.0-SNAPSHOT.jar" />
<fileEntry mountPoint="1691243203" file="../target/dependency/install4j-runtime-10.0.5.jar" />
<dirEntry mountPoint="1691242153" file="../examples" subDirectory="examples" />
<fileEntry mountPoint="1691243205" file="../tools/genome-context" fileMode="755" overrideFileMode="true" />
Expand All @@ -51,7 +51,7 @@
<fileEntry mountPoint="675425072" file="../src/main/resources/NOTICE.txt" />
</entries>
<components>
<component name="SplitsTreeApp" id="1691242194" changeable="false">
<component name="SplitsTree" id="1691242194" changeable="false">
<description>The SplitsTree App.</description>
<include>
<entry location="jars" />
Expand All @@ -60,7 +60,7 @@
<entry location="Licenses" />
<entry location="LICENSE.txt" />
<entry location="NOTICE.txt" />
<entry location="SplitsTreeApp" fileType="launcher" />
<entry location="SplitsTree" fileType="launcher" />
</include>
</component>
<component name="Examples" id="1691243204">
Expand All @@ -74,9 +74,9 @@
</components>
</files>
<launchers>
<launcher name="SplitsTreeApp" id="1691242142" menuName="SplitsTree App ">
<executable name="SplitsTreeApp" iconSet="true" redirectStdout="true" executableMode="gui" singleInstance="true" checkConsoleParameter="true" dpiAware="false">
<versionInfo include="true" fileDescription="SplitsTree app - analysis of phylogenetic trees and networks" legalCopyright="Copyright (C) 2024 ${compiler:sys.publisher}" internalName="SplitsTreeApp" />
<launcher name="SplitsTree" id="1691242142" menuName="SplitsTree ">
<executable name="SplitsTree" iconSet="true" redirectStdout="true" executableMode="gui" singleInstance="true" checkConsoleParameter="true" dpiAware="false">
<versionInfo include="true" fileDescription="SplitsTree App - analysis of phylogenetic trees and networks" legalCopyright="Copyright (C) 2024 ${compiler:sys.publisher}" internalName="SplitsTree" />
</executable>
<java mainClass="splitstreesix/splitstree6.main.SplitsTree6" mainMode="module" vmParameters="-server -Duser.language=en -Duser.region=US ${compiler:renderingVMOption}">
<modulePath>
Expand Down Expand Up @@ -1158,8 +1158,8 @@ return true;</property>
<variable name="renderingVMOption" value="-Dprism.forceGPU=true" />
</variables>
</unixInstaller>
<macosFolder name="Mac OS X Folder" id="1691242165" installDir="SplitsTreeApp" overridePrincipalLanguage="true" architecture="universal" compressDmg="true" signLaunchers="true" />
<windows name="Windows64bit" id="1691242288" installDir="SplitsTreeApp" overridePrincipalLanguage="true" architecture="64">
<macosFolder name="Mac OS X Folder" id="1691242165" installDir="SplitsTree" overridePrincipalLanguage="true" architecture="universal" compressDmg="true" signLaunchers="true" />
<windows name="Windows64bit" id="1691242288" installDir="SplitsTree" overridePrincipalLanguage="true" architecture="64">
<overriddenPrincipalLanguage id="409" />
<exclude>
<entry location="tools" />
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
<modelVersion>4.0.0</modelVersion>

<groupId>org.husonlab</groupId>
<artifactId>SplitsTreeCE</artifactId>
<artifactId>SplitsTree</artifactId>
<version>1.0.0-SNAPSHOT</version>

<name>SplitsTreeCE</name>
<name>SplitsTree</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -131,7 +131,7 @@
<mainClass>${main.class}</mainClass>
</configuration>
</plugin>
<!-->

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
Expand All @@ -145,7 +145,7 @@
</execution>
</executions>
</plugin>
</!-->

<!-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/splitstree6/dialog/AskToDiscardChanges.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import javafx.scene.control.ButtonType;
import javafx.stage.Modality;
import javafx.stage.Stage;
import splitstree6.main.Version;

/**
* ask whether to discard changes
Expand All @@ -42,7 +43,7 @@ public static boolean apply(Stage stage, String message) {
alert.initModality(Modality.APPLICATION_MODAL);
alert.initOwner(stage);

alert.setTitle("Confirm " + message + " of Changes - SplitsTreeCE");
alert.setTitle("Confirm " + message + " of Changes - " + Version.NAME);
alert.setHeaderText("There are unsaved changes.");
alert.setContentText(message + " existing changes?");

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/splitstree6/io/writers/view/GMLWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ else if (view instanceof SplitsView splitsView) {
case "weight" -> StringUtils.removeTrailingZerosAfterDot("%.8f", graph.getWeight(e));
default -> null;
};
var comment = "Exported from SplitsTreeCE: %,d nodes, %,d edges, %,d splits".formatted(graph.getNumberOfNodes(), graph.getNumberOfEdges(), splitsView.getSplitsBlock().getNsplits());
var comment = "Exported from SplitsTree: %,d nodes, %,d edges, %,d splits".formatted(graph.getNumberOfNodes(), graph.getNumberOfEdges(), splitsView.getSplitsBlock().getNsplits());
var graphLabel = (graph.getName() != null ? graph.getName() : splitsView.getName());
GraphGML.writeGML(graph, comment, graphLabel, false, 1, w,
labelNodes, labelNodeValue, labelEdges, labelEdgeValue);
Expand All @@ -88,7 +88,7 @@ else if (view instanceof SplitsView splitsView) {
case "sites" -> networkView.getNetworkBlock().getEdgeData(e).get("sites");
default -> null;
};
var comment = "Exported from SplitsTreeCE: %,d nodes, %,d edges,".formatted(graph.getNumberOfNodes(), graph.getNumberOfEdges());
var comment = "Exported from SplitsTree: %,d nodes, %,d edges,".formatted(graph.getNumberOfNodes(), graph.getNumberOfEdges());
var graphLabel = (graph.getName() != null ? graph.getName() : networkView.getName());
GraphGML.writeGML(graph, comment, graphLabel, false, 1, w,
labelNodes, labelNodeValue, labelEdges, labelEdgeValue);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/splitstree6/main/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/
public class Version {
static public final String NAME = "SplitsTree App";
static public final String SHORT_DESCRIPTION = "SplitsTree App (version 6.3.3, built 11 Apr 2024)";
static public final String SHORT_DESCRIPTION = "SplitsTree App (version 6.3.4, built 11 Apr 2024)";
static public final String VERSION = "6.0.0";

}
2 changes: 1 addition & 1 deletion src/main/resources/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SplitsTreeCE https://github.com/husonlab/splitstree6
SplitsTree https://github.com/husonlab/splitstree6

GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SplitsTreeCE - Phylogenetic trees and networks - https://github.com/husonlab/splitstree6
SplitsTree - Phylogenetic trees and networks - https://github.com/husonlab/splitstree6
Daniel Huson and David Bryant, since 2020
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</HBox>
</bottom>
<top>
<Label text="Import data into SplitsTreeCE" BorderPane.alignment="CENTER">
<Label text="Import data into SplitsTree" BorderPane.alignment="CENTER">
<BorderPane.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
</BorderPane.margin>
Expand Down
2 changes: 1 addition & 1 deletion tools/bfilter-tool
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jars2_dir="$bin_dir/../jars2"
jre_dir=${installer:sys.preferredJre}

java=$jre_dir/bin/java
vmOptions=$(grep "^-" "$bin_dir/../SplitsTreeCE.vmoptions")
vmOptions=$(grep "^-" "$bin_dir/../SplitsTree.vmoptions")
modulepath="$jars_dir:$jars2_dir"

java_flags="-server -Duser.language=en -Duser.region=US $vmOptions"
Expand Down
2 changes: 1 addition & 1 deletion tools/genetree-viewer
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jars2_dir="$bin_dir/../jars2"
jre_dir=${installer:sys.preferredJre}

java=$jre_dir/bin/java
vmOptions=$(grep "^-" $bin_dir/../SplitsTreeCE.vmoptions)
vmOptions=$(grep "^-" $bin_dir/../SplitsTree.vmoptions)
modulepath="$jars_dir:$jars2_dir"

java_flags="-server -Duser.language=en -Duser.region=US $vmOptions"
Expand Down
2 changes: 1 addition & 1 deletion tools/genome-context
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jars2_dir="$bin_dir/../jars2"
jre_dir=${installer:sys.preferredJre}

java=$jre_dir/bin/java
vmOptions=$(grep "^-" $bin_dir/../SplitsTreeCE.vmoptions)
vmOptions=$(grep "^-" $bin_dir/../SplitsTree.vmoptions)
modulepath="$jars_dir:$jars2_dir"

java_flags="-server -Duser.language=en -Duser.region=US $vmOptions"
Expand Down
2 changes: 1 addition & 1 deletion tools/mash-sketches
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jars2_dir="$bin_dir/../jars2"
jre_dir=${installer:sys.preferredJre}

java=$jre_dir/bin/java
vmOptions=$(grep "^-" $bin_dir/../SplitsTreeCE.vmoptions)
vmOptions=$(grep "^-" $bin_dir/../SplitsTree.vmoptions)
modulepath="$jars_dir:$jars2_dir"

java_flags="-server -Duser.language=en -Duser.region=US $vmOptions"
Expand Down
2 changes: 1 addition & 1 deletion tools/workflow-export
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jars2_dir="$bin_dir/../jars2"
jre_dir=${installer:sys.preferredJre}

java=$jre_dir/bin/java
vmOptions=$(grep "^-" $bin_dir/../SplitsTreeCE.vmoptions)
vmOptions=$(grep "^-" $bin_dir/../SplitsTree.vmoptions)
modulepath="$jars_dir:$jars2_dir"

java_flags="-server -Duser.language=en -Duser.region=US $vmOptions"
Expand Down
2 changes: 1 addition & 1 deletion tools/workflow-run
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jars2_dir="$bin_dir/../jars2"
jre_dir=${installer:sys.preferredJre}

java=$jre_dir/bin/java
vmOptions=$(grep "^-" $bin_dir/../SplitsTreeCE.vmoptions)
vmOptions=$(grep "^-" $bin_dir/../SplitsTree.vmoptions)
modulepath="$jars_dir:$jars2_dir"

java_flags="-server -Duser.language=en -Duser.region=US $vmOptions"
Expand Down

0 comments on commit a7501ab

Please sign in to comment.