Skip to content

Commit

Permalink
Fix import ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
caioolivv committed Oct 15, 2024
1 parent 6525850 commit d21562f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions clmm/gcdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
import warnings
from collections import OrderedDict
from astropy.table import Table as APtable
import qp
import numpy as np
from .utils import _validate_coordinate_system

import qp


class GCMetaData(OrderedDict):
r"""Object to store metadata, it always has a cosmo and coordinate_system keys with protective
Expand Down Expand Up @@ -106,7 +105,7 @@ def _str_pzpdf_info(self):
out += " " + str(np.round(self.pzpdf_info.get("zbins"), 2))
np.set_printoptions(**default_cfg)
elif out == "quantiles":
np.set_printoptions(formatter={'float': "{0:g}".format}, edgeitems=3, threshold=6)
np.set_printoptions(formatter={"float": "{0:g}".format}, edgeitems=3, threshold=6)
out += " " + str(self.pzpdf_info["quantiles"])
out += " - unpacked with zgrid : " + str(
self.pzpdf_info["unpack_quantile_zbins_limits"]
Expand Down

0 comments on commit d21562f

Please sign in to comment.