Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
*.iml
*.xml

# Ignore PyCharm files
.idea/*

chemkin_ode/*

*ipynb_checkpoints*
Expand Down
27 changes: 21 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,32 @@ before_install:
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $HOME/miniconda
- export PATH=$HOME/miniconda/bin:$PATH
- export PYTHONPATH=$TRAVIS_BUILD_DIR/AutoFragmentModeling:$PYTHONPATH
- export PYTHONPATH=$TRAVIS_BUILD_DIR:$PYTHONPATH
# Update conda itself
- conda update --yes conda
- cd ..
- cd AutoFragmentModeling
- cd $TRAVIS_BUILD_DIR
- pwd

install:
- conda env create -f envs/environment_linux.yaml
- conda env create -q -f envs/environment_linux.yaml
- source activate afm_env
- conda list

script:
- make unittests
jobs:
include:
- stage: test
script:
- make unittests

- script:
- conda remove -y -q rmg
- conda list
- cd ..
- git clone https://github.com/ReactionMechanismGenerator/RMG-Py.git --branch afm_latest
- git clone https://github.com/ReactionMechanismGenerator/RMG-database.git --branch afm_latest
- export PYTHONPATH=$TRAVIS_BUILD_DIR/../RMG-Py:$PYTHONPATH
- export PATH=$TRAVIS_BUILD_DIR/../RMG-Py:$PATH
- cd RMG-Py
- make
- cd $TRAVIS_BUILD_DIR
- make unittests
1 change: 0 additions & 1 deletion afm/bin/activate

This file was deleted.

1 change: 0 additions & 1 deletion afm/bin/conda

This file was deleted.

1 change: 0 additions & 1 deletion afm/bin/deactivate

This file was deleted.

2 changes: 1 addition & 1 deletion afm/canteraModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def simulate(self):
while canteraSimulation.time<condition.reactionTime.value_si:

# Advance the state of the reactor network in time from the current time to time t [s], taking as many integrator timesteps as necessary.
canteraSimulation.step(condition.reactionTime.value_si)
canteraSimulation.step()
times.append(canteraSimulation.time)
temperature.append(canteraReactor.T)
pressure.append(canteraReactor.thermo.P)
Expand Down
Loading