Commit ae7e630d authored by jdurrant's avatar jdurrant

Updated demo.

parent 7a9eaaaa
......@@ -12,15 +12,19 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import scoria
import sys
import os
import numpy as np
# Load in a DCD/PSF trajectory.
sys.path.insert(0, os.path.abspath("../"))
if os.path.exists("../scoria"):
import scoria
import scoria_mda as scoria
# Load in a PDB trajectory.
print("Loading Molecule...")
mol = scoria.Molecule(
mol = scoria.Molecule("../scoria/sample-files/test_sim.pdb")
# Create two new trajectories, corresponding to the shroom2
# protein and the rock1 dimer, respectively. Shroom2 is
# This bash script works in Linux and macOS, assuming the python executable is
# in the path. It creates a symbolic link to the scoria directory from this
# one.
# A very similar command should work in Windows. Just copy the scoria directory to
# this one before running.
# Make the symbolic link (Linux and macOS).
ln -s ../scoria ./
# Run using the python executable, which should be in the path.
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment