File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33from flowpaths .utils import solverwrapper as sw
44import flowpaths .utils as utils
55import time
6+ import copy
67from abc import ABC , abstractmethod
78
89class AbstractPathModelDAG (ABC ):
@@ -55,7 +56,7 @@ class AbstractPathModelDAG(ABC):
5556 optimize_with_safe_sequences = False
5657 optimize_with_safe_zero_edges = True
5758 optimize_with_subpath_constraints_as_safe_sequences = True
58- optimize_with_safety_as_subpath_constraints = True
59+ optimize_with_safety_as_subpath_constraints = False
5960
6061 def __init__ (
6162 self ,
@@ -160,7 +161,7 @@ def __init__(
160161 self .k = k
161162 self .edge_length_attr = edge_length_attr
162163
163- self .subpath_constraints = subpath_constraints
164+ self .subpath_constraints = copy . deepcopy ( subpath_constraints )
164165 if self .subpath_constraints is not None :
165166 self .__check_valid_subpath_constraints ()
166167
Original file line number Diff line number Diff line change 11[project ]
22name = " flowpaths"
3- version = " 0.1.23 "
3+ version = " 0.1.24 "
44description = " A Python package to quickly decompose weighted graphs into weights paths, under various models."
55readme = " README.md"
66authors = [{name =" Graph Algorithms and Bioinformatics Group @ University of Helsinki, and external collaborators" }]
You can’t perform that action at this time.
0 commit comments