Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed Jul 11, 2023
1 parent 87045c8 commit 6d4a5eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mira/metamodel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from .schema import *
from .search import *
from .ops import *
from .utils import *
from .utils import *
2 changes: 1 addition & 1 deletion mira/metamodel/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ def safe_parse_expr(s: str, local_dict=None) -> sympy.Expr:
return sympy.parse_expr(get_parseable_expression(s),
local_dict={get_parseable_expression(k): v
for k, v in local_dict.items()}
if local_dict else None)
if local_dict else None)
9 changes: 4 additions & 5 deletions mira/sources/sbml/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,10 @@ def _lookup_concepts_filtered(species_ids) -> List[Concept]:
for species in self.sbml_model.species
}

all_locals = {k: v
for k, v in (list(parameter_symbols.items()) +
list(compartment_symbols.items()) +
list(function_lambdas.items()) +
list(species_id_map.items()))}
all_locals = {k: v for k, v in (list(parameter_symbols.items()) +
list(compartment_symbols.items()) +
list(function_lambdas.items()) +
list(species_id_map.items()))}

# Handle custom assignment rules in the model
assignment_rules = {}
Expand Down

0 comments on commit 6d4a5eb

Please sign in to comment.