Skip to content

Commit bf96794

Browse files
Fix build break with Graph.
1 parent 49aae2d commit bf96794

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

data/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Induced network data ("subnet") originate from ``scripts/find_biomodels_subnet.p
3434
* ``probability_of_occurrence`` (Probability)
3535
* ``biomodels_serialized.txt``: serialization file for BioModels in format used in APIs. Each line is a serialization for a model. Lines can be added and/or deleted.
3636
* ``oscillators_serialized.txt``: serialization file for oscillators in same format as ``biomodels_serialized.txt``.
37-
# Excluded Models
38-
We attempt to process all 998 SBML models in the BioModels curated branch present on December 15, 2024
37+
# BioModels Analyzed
38+
In our analysis of BioModels subnets, we attempted to process all 998 SBML models in the BioModels curated branch present on December 15, 2024
3939
(as listed in the file ``./data/biomodels_serialized.txt``).
4040
However, some models could not be processed either becauses of difficulties with reproducibility or because the number of mapping pairs for the target exceeded the limit of mapping pairs used in our analysis (10**12). The excluded models are:
4141
BIOMD0000000192, BIOMD0000000394, BIOMD0000000433, BIOMD0000000442,BIOMD0000000432, BIOMD0000000441, BIOMD0000000440,

docs/paper_figures.pptx

18 Bytes
Binary file not shown.

src/pySubnetSB/network_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
GraphDescriptor = collections.namedtuple('GraphDescriptor', ['vertex_dct', 'label_dct'])
2424
ConstraintPair = collections.namedtuple('ConstraintPair', ['reaction', 'species'])
2525
ReferenceAndTargetResult = collections.namedtuple('ReferenceAndTargetResult',
26-
['reference_network', 'target_network'])
26+
['reference_network', 'target_network'])
2727

2828

2929
class NetworkBase(object):
@@ -765,7 +765,7 @@ def getGraphDescriptor(self, identity=cn.ID_STRONG)->GraphDescriptor:
765765

766766
return GraphDescriptor(vertex_dct=vertex_dct, label_dct=label_dct)
767767

768-
def makePynautyNetwork(self, identity=cn.ID_STRONG)->Graph:
768+
def makePynautyNetwork(self, identity=cn.ID_STRONG):
769769
"""
770770
Make a pynauty graph from the network. Species are indices 0 to num_species - 1 and reactions are
771771
indices num_species to num_species + num_reaction - 1.

0 commit comments

Comments
 (0)