Révision 16 prepareQMX/prepareQMX.py
prepareQMX.py (revision 16) | ||
---|---|---|
15 | 15 |
#--------------------------------------------------------------------------------------------------- |
16 | 16 |
from qmxEMBED import embedDefinitions |
17 | 17 |
from qmxJOB import jobDefinitions |
18 |
from qmxSTR import strDefinitions |
|
18 |
from qmxSTR import strSystemDefinitions, strClusterDefinitions
|
|
19 | 19 |
from qmxCALC import calcDefinitions, QmxCalcDefinition |
20 | 20 |
|
21 | 21 |
from qmxWRITE import writeData |
... | ... | |
121 | 121 |
definitions.append(analyzeSection(calcDefinitions, section, lines_section)) |
122 | 122 |
|
123 | 123 |
#structures (atoms) |
124 |
if section == "cluster" or section == "system":
|
|
125 |
definitions.append(analyzeSection(strDefinitions, section, lines_section)) |
|
124 |
if section == "cluster": |
|
125 |
definitions.append(analyzeSection(strClusterDefinitions, section, lines_section))
|
|
126 | 126 |
|
127 |
#structures (atoms) |
|
128 |
if section == "system": |
|
129 |
definitions.append(analyzeSection(strSystemDefinitions, section, lines_section)) |
|
130 |
|
|
127 | 131 |
#job |
128 | 132 |
if section == "job": |
129 | 133 |
definitions.append(analyzeSection(jobDefinitions, section, lines_section)) |
Formats disponibles : Unified diff