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 Jan 20, 2025
1 parent 520113f commit c725bb8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions chimerapy/chimera.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def chimera(im171, im193, im211, imhmi):
props[11, ident + 1] = str(np.round(Ysb))
props[12, ident + 1] = str(eastl + "-" + westl)
props[13, ident + 1] = str(width)
props[14, ident + 1] = f"{trummar / 1e+12:.1e}"
props[14, ident + 1] = f"{trummar / 1e12:.1e}"

Check warning on line 451 in chimerapy/chimera.py

View check run for this annotation

Codecov / codecov/patch

chimerapy/chimera.py#L451

Added line #L451 was not covered by tests
props[15, ident + 1] = str(np.round((arcar * 100 / (np.pi * (rs**2))), 1))
props[16, ident + 1] = str(np.round(mB, 1))
props[17, ident + 1] = str(np.round(mBpos, 1))
Expand All @@ -459,9 +459,9 @@ def chimera(im171, im193, im211, imhmi):
props[21, ident + 1] = f"{tbpos:.1e}"
tbneg = np.sum(datm[pos[:, 0], pos[:, 1]][np.where(datm[pos[:, 0], pos[:, 1]] < 0)])
props[22, ident + 1] = f"{tbneg:.1e}"
props[23, ident + 1] = f"{mB * trummar * 1e+16:.1e}"
props[24, ident + 1] = f"{mBpos * trummar * 1e+16:.1e}"
props[25, ident + 1] = f"{mBneg * trummar * 1e+16:.1e}"
props[23, ident + 1] = f"{mB * trummar * 1e16:.1e}"
props[24, ident + 1] = f"{mBpos * trummar * 1e16:.1e}"
props[25, ident + 1] = f"{mBneg * trummar * 1e16:.1e}"

Check warning on line 464 in chimerapy/chimera.py

View check run for this annotation

Codecov / codecov/patch

chimerapy/chimera.py#L462-L464

Added lines #L462 - L464 were not covered by tests

# =====sets up code for next possible coronal hole=====

Expand Down
2 changes: 1 addition & 1 deletion chimerapy/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import warnings

warnings.warn(
f'could not determine {__name__.split(".")[0]} package version; this indicates a broken installation'
f"could not determine {__name__.split('.')[0]} package version; this indicates a broken installation"
)
del warnings

Expand Down

0 comments on commit c725bb8

Please sign in to comment.