diff --git a/.DS_Store b/.DS_Store index 7aba0f7..569afa4 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/julia/README.md b/julia/README.md index 223cd33..91516d5 100644 --- a/julia/README.md +++ b/julia/README.md @@ -7,3 +7,5 @@ Run using the standard `ces-run` command without any additional inputs. ## Notes This example contains the script `plot_example.jl`, which generates a plot, and a bash script `run_test.sh` that executes the plot script and then saves the output to `/safe_outputs`. Both files are found under the `src` directory, which is copied inside the container in the `Dockerfile`. The required packages are installed using the `install_packages.jl` script. + +Warning: this example takes several minutes to run inside the TRE due to the Plots package being loaded by the script. diff --git a/julia/src/plot_example.jl b/julia/src/plot_example.jl index 6f766c5..717cf74 100644 --- a/julia/src/plot_example.jl +++ b/julia/src/plot_example.jl @@ -1,4 +1,6 @@ using Plots +# prevents figure from attempting to be displayed +ENV["GKSwstype"]="nul" # plot some data plot([cumsum(rand(500) .- 0.5), cumsum(rand(500) .- 0.5)]) diff --git a/postgres/README.md b/postgres/README.md index 5a5a723..7833e82 100644 --- a/postgres/README.md +++ b/postgres/README.md @@ -10,7 +10,7 @@ This test ran successfully in the eidf147 environment using the following comman ```bash mkdir pgdata pgrun -ces-run --opt-file opt_file ghcr.io/... +ces-dk-run --opt-file opt_file ghcr.io/... ``` The opt_file contains: