Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated python and wolfram examples

...

The default execution environment is Node.js, per Section 1 above, "General Usage". For running source code or scripts in other interpreted languages, just download the execution environment of your choice from Docker Hub, following the instructions in Section 2.1 above. For example,(TODO: provide Python example using Docker)

Code Block
languagejs
charityengine.python(commandline, inputfile)
PARAMETERS
  commandline // Command line for the application [string] [required]
  inputfile // Names of local files to use as input [array of string]docker("python:slim", "python /local/input/hello-world.py", ["hello-world.py"])

Charity Engine Application Library

...

For example, to generate a chi-squared distribution with v with 22 degrees of freedom using Wolfram Engine:

Code Block
languagetext
charityengine.wolframengine('ChiSquareDistribution[v22]');

vina

Run a protein-ligand binding simulation

...