Skip to content

Commit e59fe8c

Browse files
authored
Merge pull request #108 from Lars-B/fix/target-tree
Fix/target tree problem in TAGui and Docker file
2 parents f7c0dc5 + 8cd57f8 commit e59fe8c

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
# docker run --platform linux/arm64/v8 --entrypoint /bin/bash -it -p 5900:5900 beastfx_testing
2525

2626

27-
FROM openjdk:8
27+
FROM eclipse-temurin:8-jdk
2828

2929
RUN apt-get update
3030
# Install stuff required later
3131
RUN apt-get install -y curl git
3232

3333
ARG DEBIAN_FRONTEND=noninteractive
3434

35-
ENV USER root
35+
ENV USER=root
3636

3737
WORKDIR /root/BeastFX
3838

@@ -84,7 +84,7 @@ RUN chmod 600 /root/.vnc/passwd
8484

8585
ADD . ./
8686

87-
ENV DISPLAY :2
87+
ENV DISPLAY=:2
8888

8989
RUN echo "#!/bin/bash\n" \
9090
"export USER=root\n" \

src/beastfx/app/treeannotator/TAGui.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ public void run() {
128128
TreeAnnotator ta = new TreeAnnotator();
129129
ta.topologyInput.setValue(targetOption, ta);
130130
ta.heightInput.setValue(heightsOption, ta);
131-
ta.run(burninPercentage,
131+
ta.targetInput.setValue(targetTreeFileName, ta);
132+
133+
ta.run(burninPercentage,
132134
lowMem,
133-
//heightsOption,
134135
posteriorLimit,
135136
hpd2D,
136-
//targetOption,
137-
targetTreeFileName,
138137
inputFileName,
139-
outputFileName);
138+
outputFileName
139+
);
140140

141141
} catch (Exception ex) {
142142
Log.err.println("Exception: " + ex.getMessage());

0 commit comments

Comments
 (0)