Skip to content

Commit

Permalink
styles(cameobrs): super-linter
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-gricourt committed Mar 4, 2024
1 parent 9fb7532 commit b7cea0e
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,7 @@ def run(
].values

if self.normalize_ranges_by is not None:
logger.debug(
self.reference_flux_ranges.loc[
self.normalize_ranges_by,
]
)
logger.debug(self.reference_flux_ranges.loc[self.normalize_ranges_by,])
# The most obvious flux to normalize by is the biomass reaction
# flux. This is probably always greater than zero. Just in case
# the model is defined differently or some other normalizing
Expand Down Expand Up @@ -1114,7 +1110,6 @@ def run(
exclude_ids.append(reaction)

with TimeMachine() as tm:

tm(do=int, undo=partial(setattr, model, "objective", model.objective))
tm(do=int, undo=partial(setattr, target, "lower_bound", target.lower_bound))
tm(do=int, undo=partial(setattr, target, "upper_bound", target.upper_bound))
Expand Down Expand Up @@ -1228,7 +1223,6 @@ def __init__(
*args,
**kwargs,
):

super(FSEOFResult, self).__init__(
self._generate_designs(reference, enforced_levels, reaction_results),
*args,
Expand Down

0 comments on commit b7cea0e

Please sign in to comment.