Skip to content

Commit e2345d5

Browse files
committed
Code QA fixes
1 parent 9773691 commit e2345d5

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

mbuild/polymer.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
2020
__all__ = ["Polymer"]
2121

2222

23-
class Monomer(Compound):
24-
def __init__(self):
25-
pass
26-
27-
2823
class Polymer(Compound):
2924
"""Connect one or more components in a specified sequence.
3025

mbuild/utils/geometry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import numpy as np
44

5-
from mbuild.box import Box
5+
import mbuild as mb
66
from mbuild.coordinate_transform import angle
77

88

@@ -124,7 +124,7 @@ def wrap_coords(xyz, box, mins=None):
124124
-----
125125
Currently only supports orthorhombic boxes
126126
"""
127-
if not isinstance(box, Box):
127+
if not isinstance(box, mb.box.Box):
128128
box_arr = np.asarray(box)
129129
assert box_arr.shape == (3,)
130130

mbuild/utils/volumes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Constraint:
66
def __init__(self):
77
pass
88

9-
def is_inside(self, point):
9+
def is_inside(self, points, buffer):
1010
"""Return True if point satisfies constraint (inside), else False."""
1111
raise NotImplementedError("Must be implemented in subclasses")
1212

0 commit comments

Comments
 (0)