notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

Type error when running tweakreg related code

Open catherinecheng02 opened this issue 4 years ago • 3 comments

When running section 4a of the align_mosaics notebook, the type error below is appearing: image

leading to some other issues: image

catherinecheng02 avatar Jun 21 '20 05:06 catherinecheng02

Thanks for reporting this! cc @samanthalh

pllim avatar Jun 22 '20 14:06 pllim

This is a known issue with the new numpy version 1.18.1, more info can be found here: https://github.com/spacetelescope/drizzlepac/issues/582

A bug fix has already been coded, but not yet released (see: https://github.com/spacetelescope/drizzlepac/pull/587), so downgrading the numpy version or downloading the (unverified) developmental version of DrizzlePac from github should resolve this.

cc @catherine-martlin

samanthalh avatar Jun 22 '20 18:06 samanthalh

@samanthalh what version of numpy would we need to downgrade to for this? I'm seeing something similar for the align_muliple_visits notebook. Looks like my astroconda is pulling in v3.1.6 of DrizzlePac, even with updating the package.

astrophysaxist avatar Jan 17 '22 17:01 astrophysaxist