Skip to content

Commit

Permalink
fix compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrammer committed Jan 7, 2025
1 parent 1aae03a commit 24e8e73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion grizli/aws/field_tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ def process_tile(field='cos', tile='01.01', filters=TILE_FILTERS, fetch_existing
else:
# ref_tile = (9, 9)
if len(ref_tileq) == 1:
ref_tile = tuple(np.cast[int](ref_tileq['tile'][0].split('.')))
ref_tile = tuple(np.array(ref_tileq['tile'][0].split('.')).astype(int))
else:
ref_tile = (9, 9)

Expand Down
2 changes: 1 addition & 1 deletion grizli/tests/test_cutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_disperse_c():
dxpix = np.arange(nx, dtype=int) + sh[0] // 2 - 1
ytrace_beam = (np.arange(nx) - nx / 2) * 0.5 / 200
yfrac_beam = ytrace_beam - np.floor(ytrace_beam)
dyc = np.cast[int](ytrace_beam + 20) - 20 + 1
dyc = (ytrace_beam + 20).astype(int) - 20 + 1
idx = np.arange(modelf.size, dtype=np.int64).reshape(sh_beam)
flat_index = idx[dyc + x0[0], dxpix]
sens_curve = yfrac_beam**0
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ include_package_data = True
test =
pytest>=5.1
flake8
drizzlepac<=3.7.0
drizzlepac<3.7.0
docs =
sphinx
sphinx-astropy
Expand All @@ -57,7 +57,7 @@ jwst =
pysiaf
grismconf==1.32
numba
drizzlepac<=3.7.0
drizzlepac<3.7.0
snowblind>=0.2.1
aws =
awscli
Expand All @@ -67,7 +67,7 @@ aws =
hst =
reprocess-wfc3
astroscrappy
drizzlepac<=3.7.0
drizzlepac<3.7.0
stsci.tools
wfc3tools

Expand Down

0 comments on commit 24e8e73

Please sign in to comment.