10
0
mirror of https://github.com/LCPQ/EMSL_Basis_Set_Exchange_Local synced 2024-11-01 03:33:46 +01:00

PEP 8 format

This commit is contained in:
Thomas Applencourt 2014-11-12 18:12:07 +01:00
parent 2ca24930a4
commit 6347860b10

View File

@ -2,10 +2,12 @@
import sqlite3 import sqlite3
import re import re
import sys, os import sys
import os
debug = True debug = True
class EMSL_dump: class EMSL_dump:
def __init__(self, db_path=None, format="GAMESS-US", contraction="True"): def __init__(self, db_path=None, format="GAMESS-US", contraction="True"):
@ -131,7 +133,8 @@ class EMSL_dump:
while True: while True:
[name, url, des, elts] = q_in.get() [name, url, des, elts] = q_in.get()
url = self.create_url(url, name, elts) url = self.create_url(url, name, elts)
q_out.put ( ([name, url, des, elts], self.requests.get(url).text) ) q_out.put(
([name, url, des, elts], self.requests.get(url).text))
q_in.task_done() q_in.task_done()
def enqueue(): def enqueue():