Skip to content

Commit 608921e

Browse files
authored
Merge pull request #2 from ReactionMechanismGenerator/debug_settings_2
Add new files and comment out imports irrelevant to chemkin
2 parents 29d7b00 + 80aaac0 commit 608921e

7 files changed

Lines changed: 2305 additions & 4 deletions

File tree

.conda/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ requirements:
1818
- numpy
1919
- openbabel >=3
2020
- pyrdl
21-
- python {{ python }}
21+
- python==3.7
2222
- quantities
2323
- rdkit >=2018
2424
- scipy
@@ -37,7 +37,7 @@ requirements:
3737
- openbabel >=3
3838
- pydot
3939
- pyrdl
40-
- python {{ python }}
40+
- python==3.7
4141
- quantities
4242
- rdkit >=2018
4343
- scikit-learn

.gitignore

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
################################################################################
2+
#
3+
# Files for git to ignore
4+
#
5+
################################################################################
6+
7+
# MacOS files
8+
.DS_Store
9+
10+
# Compiled Python modules
11+
*.pyc
12+
*.so
13+
*.pyd
14+
15+
# Image files generated by RMG
16+
*.png
17+
*.svg
18+
*.pdf
19+
20+
# Temporary build files
21+
build/*
22+
23+
# Compiled documentation
24+
documentation/build/*
25+
26+
# Compilation helper files
27+
# (These will be unique to each developer's setup)
28+
make.inc
29+
30+
# Example output files
31+
examples/*
32+
!examples/*/input.py
33+
!examples/**/*.ipynb
34+
35+
# NetBeans project files
36+
nbproject/*
37+
38+
# Eclipse project files
39+
.project
40+
.pydevproject
41+
.settings/*
42+
43+
# PyCharm project files
44+
*/.idea/*
45+
.idea/*
46+
47+
# VS Code settings
48+
*/.vscode/*
49+
.vscode/*
50+
51+
# Unit test files
52+
.coverage
53+
testing/*
54+
htmlcov/*
55+
56+
# Quantum Mechanics temporary, cache, and result files
57+
QMfiles/*
58+
QMscratch/*
59+
60+
# Solver settings file
61+
molecule/solver/settings.pxi
62+
63+
# bin/symmetry
64+
bin/symmetry
65+
66+
# ipython checkpoints
67+
**/.ipynb_checkpoints/**
68+
69+
# cantera files
70+
*.cti
71+
72+
# csv files
73+
*.csv
74+
75+
# ipython folder except for notebooks
76+
ipython/*
77+
!ipython/*.ipynb
78+
79+
# Q2DTor
80+
external/Q2DTor
81+
82+
# egg files (pip install -e)
83+
RMG_Py.egg-info/*
84+
85+
# deleted files
86+
**/.fuse_hidden*
87+
88+
# RMG configuration file
89+
molecule/rmgrc
90+
91+
scripts/treegen.log
92+
93+
scripts/treegen_backup.log
94+
95+
# regression testing files - ignore everything but input and regression input
96+
test/regression/*
97+
!test/regression/*/input.py
98+
!test/regression/*/regression_input.py

molecule/data/kinetics/family.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
from sklearn.model_selection import KFold
4646

4747
from molecule import settings
48-
from molecule.constraints import fails_species_constraints
48+
# from molecule.constraints import fails_species_constraints
4949
from molecule.data.base import Database, Entry, LogicNode, LogicOr, ForbiddenStructures, get_all_combinations
5050
from molecule.data.kinetics.common import save_entry, find_degenerate_reactions, generate_molecule_combos, \
5151
ensure_independent_atom_ids
@@ -61,7 +61,7 @@
6161
from molecule.molecule.atomtype import ATOMTYPES
6262
from molecule.reaction import Reaction, same_species_lists
6363
from molecule.species import Species
64-
from molecule.tools.uncertainty import KineticParameterUncertainty
64+
# from molecule.tools.uncertainty import KineticParameterUncertainty
6565
from molecule.molecule.fragment import Fragment
6666

6767
################################################################################

molecule/pdep/__init__.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/usr/bin/env python3
2+
3+
###############################################################################
4+
# #
5+
# RMG - Reaction Mechanism Generator #
6+
# #
7+
# Copyright (c) 2002-2023 Prof. William H. Green (whgreen@mit.edu), #
8+
# Prof. Richard H. West (r.west@neu.edu) and the RMG Team (rmg_dev@mit.edu) #
9+
# #
10+
# Permission is hereby granted, free of charge, to any person obtaining a #
11+
# copy of this software and associated documentation files (the 'Software'), #
12+
# to deal in the Software without restriction, including without limitation #
13+
# the rights to use, copy, modify, merge, publish, distribute, sublicense, #
14+
# and/or sell copies of the Software, and to permit persons to whom the #
15+
# Software is furnished to do so, subject to the following conditions: #
16+
# #
17+
# The above copyright notice and this permission notice shall be included in #
18+
# all copies or substantial portions of the Software. #
19+
# #
20+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
21+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
22+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE #
23+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
24+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
25+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
26+
# DEALINGS IN THE SOFTWARE. #
27+
# #
28+
###############################################################################
29+
30+
# from molecule.pdep.collision import SingleExponentialDown
31+
# from molecule.pdep.configuration import Configuration
32+
from molecule.pdep.network import Network
33+
# from molecule.pdep.draw import NetworkDrawer

0 commit comments

Comments
 (0)