Skip to content

Commit e143130

Browse files
PR rewivew comments
1 parent 4a040f6 commit e143130

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

cs_util/cfis.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ def get_tile_coord_from_nixy(nix, niy):
6464
6565
Parameters
6666
----------
67-
nix : str, int, or list
67+
nix : str or list
6868
tile number(s) for x
69-
niy : str, int, or list
69+
niy : str or list
7070
tile number(s) for y
7171
7272
See also
@@ -79,8 +79,9 @@ def get_tile_coord_from_nixy(nix, niy):
7979
right ascension and declination
8080
8181
"""
82+
# Transform to int
8283
if not np.isscalar(nix):
83-
# Transform to int
84+
# Transform to list
8485
xi = np.array(nix).astype(int)
8586
yi = np.array(niy).astype(int)
8687
else:

0 commit comments

Comments
 (0)