mirror of
https://github.com/LCPQ/EMSL_Basis_Set_Exchange_Local
synced 2024-12-22 12:23:39 +01:00
Make a warning
This commit is contained in:
parent
5623eb94b0
commit
3735ff8199
@ -84,10 +84,12 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
if arguments["--average_mo_number"]:
|
if arguments["--average_mo_number"]:
|
||||||
for name, des, avg in l:
|
for name, des, avg in l:
|
||||||
print "- '{0}' ({1}) || {:<50}".format(name, avg, des)
|
des_str = "{:<50}".format(des)
|
||||||
|
print "- '{0}' ({1}) || {2}".format(name, avg, des_str)
|
||||||
else:
|
else:
|
||||||
for name, des in l:
|
for name, des in l:
|
||||||
print "- '{0}' || {:<50}".format(name, des)
|
des_str = "{:<50}".format(des)
|
||||||
|
print "- '{0}' || {1}".format(name, des_str)
|
||||||
|
|
||||||
# _ _ _ _____ _ _
|
# _ _ _ _____ _ _
|
||||||
# | | (_) | | | ___| | | |
|
# | | (_) | | | ___| | | |
|
||||||
|
@ -2,7 +2,13 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
import sqlite3
|
|
||||||
|
try:
|
||||||
|
import sqlite3
|
||||||
|
except ImportError:
|
||||||
|
print "you maybe need libsqlite3-dev from the package manager"
|
||||||
|
print "and the recompile Python"
|
||||||
|
raise
|
||||||
|
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user