Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
philopon committed Mar 12, 2019
1 parent ab5a9d3 commit 067cec3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions mordred/_base/parallel.py
Expand Up @@ -76,13 +76,13 @@ def __next__(self):

def parallel(calc, mols, nproc, nmols, quiet, ipynb, id):
with MolPool(calc, nproc) as pool, calc._progress(quiet, nmols, ipynb) as bar:
for mol, (r, err) in pool.map(mols, id):
for e in err:
e = e.rstrip()
if not e:
continue
for mol, (r, err) in pool.map(mols, id):
for e in err:
e = e.rstrip()
if not e:
continue

bar.write(e)
bar.write(e)

yield calc._wrap_result(mol, r)
bar.update()
yield calc._wrap_result(mol, r)
bar.update()

0 comments on commit 067cec3

Please sign in to comment.