Skip to content
Snippets Groups Projects
Commit 5b0294b3 authored by cmaffeo2's avatar cmaffeo2
Browse files

Removed some unneccesary warnings

parent 88a43288
No related branches found
No related tags found
No related merge requests found
......@@ -1010,17 +1010,17 @@ class SingleStrandedSegment(Segment):
seg2 = other.container
end1 = self.end3
end2 = other
# assert( other.type_ == "end5" )
if (other.type_ is not "end5"):
print("WARNING: code does not prevent connecting 3prime to 3prime, etc")
assert(other.type_ != "end3")
# if (other.type_ is not "end5"):
# print("WARNING: code does not prevent connecting 3prime to 3prime, etc")
else:
seg1 = other.container
seg2 = self
end1 = other
end2 = self.start
# assert( other.type_ == "end3" )
if (other.type_ is not "end3"):
print("WARNING: code does not prevent connecting 3prime to 3prime, etc")
assert(other.type_ != "end5")
# if (other.type_ is not "end3"):
# print("WARNING: code does not prevent connecting 3prime to 3prime, etc")
## Remove other connections involving these points
if end1.connection is not None:
......@@ -1840,7 +1840,8 @@ class SegmentModel(ArbdModel):
for b1,b2 in intra_beads:
# assert( not np.isclose( np.linalg.norm(b1.collapsedPosition() - b2.collapsedPosition()), 0 ) )
if np.linalg.norm(b1.collapsedPosition() - b2.collapsedPosition()) < 1:
print("WARNING: some beads are very close")
# print("WARNING: some beads are very close")
...
parent = self._getParent(b1,b2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment