mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-03 20:54:00 +01:00
7ebc2ac896
* Fixes #211 * Removed debug print * Revert input coordinates * Fix MPI
16 lines
285 B
Python
16 lines
285 B
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
|
|
QP_ROOT=os.environ["QP_ROOT"]
|
|
|
|
name_to_elec = {}
|
|
with open(QP_ROOT+"/data/list_element.txt","r") as f:
|
|
data = f.readlines()
|
|
for line in data:
|
|
b = line.split()
|
|
name_to_elec[b[1]] = int(b[0])
|
|
|
|
if __name__ == '__main__':
|
|
print name_to_elec
|