RNApolis 0.4.7__tar.gz → 0.4.9__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {rnapolis-0.4.7/src/RNApolis.egg-info → rnapolis-0.4.9}/PKG-INFO +1 -1
- {rnapolis-0.4.7 → rnapolis-0.4.9}/setup.py +1 -1
- {rnapolis-0.4.7 → rnapolis-0.4.9/src/RNApolis.egg-info}/PKG-INFO +1 -1
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/annotator.py +1 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/common.py +8 -3
- {rnapolis-0.4.7 → rnapolis-0.4.9}/tests/test_common.py +4 -4
- {rnapolis-0.4.7 → rnapolis-0.4.9}/LICENSE +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/README.md +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/pyproject.toml +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/setup.cfg +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/RNApolis.egg-info/SOURCES.txt +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/RNApolis.egg-info/dependency_links.txt +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/RNApolis.egg-info/entry_points.txt +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/RNApolis.egg-info/requires.txt +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/RNApolis.egg-info/top_level.txt +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/clashfinder.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/metareader.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/molecule_filter.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/motif_extractor.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/parser.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/rfam_folder.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/tertiary.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/transformer.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/src/rnapolis/util.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/tests/test_annotator.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/tests/test_bugfixes.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/tests/test_metareader.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/tests/test_parser.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/tests/test_quadruplexes.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/tests/test_rfam_folder.py +0 -0
- {rnapolis-0.4.7 → rnapolis-0.4.9}/tests/test_tertiary.py +0 -0
@@ -704,12 +704,17 @@ class BpSeq:
|
|
704
704
|
|
705
705
|
@cached_property
|
706
706
|
def dot_bracket(self):
|
707
|
-
pulp.
|
708
|
-
|
707
|
+
if pulp.HiGHS_CMD().available():
|
708
|
+
solver = pulp.HiGHS_CMD() # much faster than default
|
709
|
+
else:
|
710
|
+
solver = pulp.LpSolverDefault
|
711
|
+
if solver is not None:
|
712
|
+
solver.msg = False
|
713
|
+
return self.convert_to_dot_bracket(solver)
|
709
714
|
|
710
715
|
def convert_to_dot_bracket(self, solver: pulp.LpSolver):
|
711
716
|
# if PuLP solvers are not installed, use FCFS
|
712
|
-
if
|
717
|
+
if solver is None:
|
713
718
|
return self.fcfs()
|
714
719
|
|
715
720
|
# build conflict graph
|
@@ -121,10 +121,10 @@ def test_pseudoknot_order_assignment():
|
|
121
121
|
assert counter["."] == 1185
|
122
122
|
assert counter["("] == 1298
|
123
123
|
assert counter["["] == 44
|
124
|
-
assert counter["{"] ==
|
125
|
-
assert counter["<"] ==
|
126
|
-
assert counter["A"] ==
|
127
|
-
assert counter["B"] ==
|
124
|
+
assert counter["{"] == 18
|
125
|
+
assert counter["<"] == 6
|
126
|
+
assert counter["A"] == 3
|
127
|
+
assert counter["B"] == 2
|
128
128
|
assert counter["C"] == 1
|
129
129
|
assert counter["D"] == 0
|
130
130
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|