Skip to content

Commit

Permalink
import bytes2human directly from stdatamodels (#8325)
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram authored Mar 5, 2024
1 parent 7c4f1e8 commit dcc464f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions jwst/lib/basic_utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
"""General utility objects"""

# Moved to stdatamodels, kept here to preserve interface
from stdatamodels.jwst.library.basic_utils import deprecate_class, bytes2human # noqa: F401


class LoggingContext:
"""Logging context manager
Expand Down
2 changes: 1 addition & 1 deletion jwst/resample/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
from spherical_geometry.polygon import SphericalPolygon

from stdatamodels.jwst import datamodels
from stdatamodels.jwst.library.basic_utils import bytes2human

from jwst.datamodels import ModelContainer

from . import gwcs_drizzle
from . import resample_utils
from ..lib.basic_utils import bytes2human
from ..model_blender import blendmeta

log = logging.getLogger(__name__)
Expand Down

0 comments on commit dcc464f

Please sign in to comment.