Skip to content

Commit

Permalink
updated the required arguments for instantiating a ShootingPoint object
Browse files Browse the repository at this point in the history
  • Loading branch information
ldgibson committed Sep 25, 2018
1 parent 3880b46 commit 0fcc978
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions aslm/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
import subprocess

import numpy as np
# import pandas as pd

from .utils import log_run, get_file_name
from .utils import log_run


def run_MD(inputfile, jobname, logfile=None, topology="system.prmtop",
Expand Down
6 changes: 3 additions & 3 deletions aslm/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def test_read_cv_values():
test_file_loc = op.join(op.dirname(op.abspath(__file__)),
'test_data', 'COLVAR2')
sp = ShootingPoint()
sp = ShootingPoint(name='test', input_file='.')

sp._read_cv_values(test_file_loc)
test_values = sp.cv_values
Expand All @@ -29,7 +29,7 @@ def test_find_and_replace():


def test_check_if_commited():
sp = ShootingPoint()
sp = ShootingPoint(name='test', input_file='.')
test_file_loc = op.join(op.dirname(op.abspath(__file__)),
'test_data', 'commit.log')
test_result = sp.check_if_committed(test_file_loc)
Expand All @@ -43,7 +43,7 @@ def test_check_if_commited():


def test_log():
sp = ShootingPoint()
sp = ShootingPoint(name='test', input_file='.')
sp.name = 'test'
sp.cv_values = [1, 2, 3]
sp.result = 'accepted'
Expand Down

0 comments on commit 0fcc978

Please sign in to comment.