Skip to content

Commit 90bccfb

Browse files
committed
Code style
1 parent f816fad commit 90bccfb

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

reproject/hips/high_level.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
from ..utils import as_transparent_rgb, is_jpeg, is_png, parse_input_data
2323
from ..wcs_utils import has_celestial, pixel_scale
2424
from .utils import (
25+
load_properties,
2526
make_tile_folders,
27+
save_properties,
2628
tile_filename,
2729
tile_header,
28-
load_properties,
29-
save_properties,
3030
)
3131

3232
__all__ = ["reproject_from_hips", "reproject_to_hips", "coadd_hips"]

reproject/hips/utils.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
import urllib
23
from pathlib import Path
34

45
import numpy as np
@@ -8,7 +9,14 @@
89
level_to_nside,
910
)
1011

11-
__all__ = ["tile_header", "tile_filename", "make_tile_folders", "is_url", "load_properties", "save_properties"]
12+
__all__ = [
13+
"tile_header",
14+
"tile_filename",
15+
"make_tile_folders",
16+
"is_url",
17+
"load_properties",
18+
"save_properties",
19+
]
1220

1321

1422
def tile_header(*, level, index, frame, tile_size):

reproject/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def hdu_to_numpy_memmap(hdu):
8383
"""
8484

8585
if (
86-
getattr(hdu, '_orig_bscale', 1) != 1
87-
or getattr(hdu, '_orig_bzero', 0) != 0
86+
getattr(hdu, "_orig_bscale", 1) != 1
87+
or getattr(hdu, "_orig_bzero", 0) != 0
8888
or hdu.header.get("BSCALE", 1) != 1
8989
or hdu.header.get("BZERO", 0) != 0
9090
or hdu.fileinfo() is None

0 commit comments

Comments
 (0)