Skip to content

Commit

Permalink
Install RMGPY ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinp0 committed Jul 31, 2023
1 parent f5513af commit 14347cf
Show file tree
Hide file tree
Showing 15 changed files with 7 additions and 188,670 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cont_int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ jobs:
echo 'export PATH=$PATH:'"$(pwd)" >> $GITHUB_ENV
echo 'export PYTHONPATH=$PYTHONPATH:'"$(pwd)" >> ~/.bashrc
echo 'export PATH=$PATH:'"$(pwd)" >> ~/.bashrc
export PYTHONPATH=$PYTHONPATH:$(pwd)
export PATH=$PATH:$(pwd)
echo $(pwd)
make
cd ..
Expand Down
2 changes: 2 additions & 0 deletions autotst/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

# Absolute path to the AutoTST directory
AUTOTST_PATH = os.path.dirname(os.path.abspath(__file__))
# Absolute path to the AutoTST database directory - One directory above AUTOTST_PATH
AUTOTST_DATABASE_PATH = os.path.abspath(os.path.join(AUTOTST_PATH, os.pardir))
# Abolsute path to RMG-Py directory
RMG_PY_PATH = os.path.abspath(os.path.dirname(os.path.dirname(rmgpy.__file__)))
# Absolute path to the RMG-database directory
Expand Down
6 changes: 3 additions & 3 deletions autotst/data/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import logging
import numpy as np
import autotst
from autotst.common import AUTOTST_PATH
from autotst.common import AUTOTST_PATH, AUTOTST_DATABASE_PATH
from autotst.reaction import Reaction
from autotst.data.base import QMData, DistanceData, TransitionStates, TransitionStateDepository, TSGroups
import rmgpy
Expand Down Expand Up @@ -156,7 +156,7 @@ def setUp(self):

self.settings = {
"file_path": os.path.join(
os.path.join(AUTOTST_PATH, "test", "database", "H_Abstraction", "TS_training", "reactions.py")
os.path.join(AUTOTST_DATABASE_PATH, "database", "H_Abstraction", "TS_training", "reactions.py")
),
"local_context": {"DistanceData":DistanceData},
"global_context": {'__builtins__': None}
Expand All @@ -178,7 +178,7 @@ def setUp(self):

self.settings = {
"file_path": os.path.join(
os.path.join(AUTOTST_PATH, "database", "H_Abstraction", "TS_training", "TS_groups.py")
os.path.join(AUTOTST_DATABASE_PATH, "database", "H_Abstraction", "TS_groups.py")
),
"local_context": {"DistanceData":DistanceData},
"global_context": {'__builtins__': None}
Expand Down
10,713 changes: 0 additions & 10,713 deletions test/bin/log-files/CC+[O]O_[CH2]C+OO_forward_0.log

This file was deleted.

3,668 changes: 0 additions & 3,668 deletions test/bin/log-files/CC+[O]O_[CH2]C+OO_forward_center_0.log

This file was deleted.

25,310 changes: 0 additions & 25,310 deletions test/bin/log-files/CC+[O]O_[CH2]C+OO_forward_shell_0.log

This file was deleted.

88,650 changes: 0 additions & 88,650 deletions test/bin/log-files/CC+[O]O_[CH2]C+OO_reverse_0.log

This file was deleted.

12,999 changes: 0 additions & 12,999 deletions test/bin/log-files/CC+[O]O_[CH2]C+OO_reverse_center_0.log

This file was deleted.

6,964 changes: 0 additions & 6,964 deletions test/bin/log-files/CC+[O]O_[CH2]C+OO_reverse_shell_0.log

This file was deleted.

4,861 changes: 0 additions & 4,861 deletions test/bin/log-files/CC_0.log

This file was deleted.

8,480 changes: 0 additions & 8,480 deletions test/bin/log-files/C[CH2]_0.log

This file was deleted.

722 changes: 0 additions & 722 deletions test/bin/log-files/C_fod.log

This file was deleted.

4,954 changes: 0 additions & 4,954 deletions test/bin/log-files/OO_0.log

This file was deleted.

17,946 changes: 0 additions & 17,946 deletions test/bin/log-files/[CH3]+CC(F)(F)F_C+[CH2]C(F)(F)F.log

This file was deleted.

3,400 changes: 0 additions & 3,400 deletions test/bin/log-files/[O]O_0.log

This file was deleted.

0 comments on commit 14347cf

Please sign in to comment.