Skip to content

Commit 3fa356f

Browse files
committed
minor corrections
1 parent 8f616c7 commit 3fa356f

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

Docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ EXPOSE 3838
5757

5858
## Run Shiny app
5959
CMD ["R", "-e", "shiny::runApp('/app', host='0.0.0.0', port=3838)"]
60+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/bash
22

33
## on Linux
4-
docker build -t popscomp .
4+
docker build --no-cache -t popscomp .
55
docker run -p 3838:3838 popscomp
66

POPSC/src/topol.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,8 @@ int calpha_distances(Arg *arg, Str *pdb, Topol *topol, ConstantSasa *res_sasa) {
717717
}
718718
}
719719

720-
soft_distance_norm = soft_distance * (sqrt(r_CA1 * r_CA2) / 4.);
720+
/* the mean radius across 20 amino acids is 4.35 */
721+
soft_distance_norm = soft_distance * (sqrt(r_CA1 * r_CA2) / 4.35);
721722
topol->distMatCA[n_cai][n_caj] = soft_distance_norm;
722723

723724
++n_caj;

POPSR/inst/popsr/app.R

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,7 @@ ui <- fluidPage(
325325
p("The PDB file could not be read, most possibly because something went wrong during up/down-loading.
326326
If you used the 'Enter PDB entry' field, check your internet connection."
327327
)
328-
),
329-
tabPanel("Readme",
330-
h3("Readme (C code)"),
331-
textOutput("readme")
332-
)
328+
)
333329
)
334330
)
335331
)

0 commit comments

Comments
 (0)