Skip to content

Commit c83d8b4

Browse files
committed
cleanup
1 parent 70f3506 commit c83d8b4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: moleculekit/vmdviewer.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import queue
1111
import time
1212
import os
13-
import sys
1413
from moleculekit.util import string_to_tempfile
1514
import numpy as np
1615
import tempfile
@@ -24,7 +23,7 @@
2423

2524
def _enqueue_output(obj, vmd, queue):
2625
while vmd.poll() is None:
27-
line = vmd.stdout.readline()
26+
_ = vmd.stdout.readline()
2827
# print("READIN: [" + line.decode("ascii") + "]", end="" );
2928
# queue.put(line.decode("ascii"))
3029
# print( "Process finished" )

Diff for: moleculekit/writers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ def SDFwrite(mol, filename):
608608

609609
for i in range(mol.bonds.shape[0]):
610610
fh.write(
611-
f"{mol.bonds[i, 0]+1:>3}{mol.bonds[i, 1]+1:>3} {bondmap[mol.bondtype[i]]} 0 0 0 0\n"
611+
f"{mol.bonds[i, 0] + 1:>3}{mol.bonds[i, 1] + 1:>3} {bondmap[mol.bondtype[i]]} 0 0 0 0\n"
612612
)
613613

614614
if len(charges):

0 commit comments

Comments
 (0)