Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 2, 2024
1 parent 6be6402 commit 0c5c764
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Python/pywarpx/picmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,9 +754,7 @@ def distribution_initialize_inputs(
if density_scale is not None:
species.add_new_group_attr(source_name, "flux", density_scale)

expression = pywarpx.my_constants.mangle_expression(
self.flux, self.mangle_dict
)
expression = pywarpx.my_constants.mangle_expression(self.flux, self.mangle_dict)
if density_scale is None:
species.add_new_group_attr(
source_name, "flux_function(x,y,z,t)", expression
Expand All @@ -768,7 +766,6 @@ def distribution_initialize_inputs(
"{}*({})".format(density_scale, expression),
)


species.add_new_group_attr(
source_name, "flux_normal_axis", self.flux_normal_axis
)
Expand Down

0 comments on commit 0c5c764

Please sign in to comment.