New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FutureWarning: comparison to `None` will result in an elementwise object comparison in the future #17

Closed
pllim opened this Issue Jan 24, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@pllim
Contributor

pllim commented Jan 24, 2017

Example test: https://ssb.stsci.edu/pandokia/pandokia.cgi?query=detail&key_id=36464238

[WARNING ] /srv/iraf/bldtmp/porcelain.g23AA24Tm8/porcelain/envs/dev/lib/python2.7/site-packages/drizzlepac/adrizzle.py:699:
FutureWarning: comparison to `None` will result in an elementwise object comparison
in the future.
  here = _outsci==None and _outwht==None and _outctx==None

Example test: https://ssb.stsci.edu/pandokia/pandokia.cgi?query=detail&key_id=36464376

[WARNING ] /srv/iraf/bldtmp/porcelain.g23AA24Tm8/porcelain/envs/dev/lib/python2.7/site-packages/drizzlepac/outputimage.py:468:
FutureWarning: comparison to `None` will result in an elementwise object comparison
in the future.
  if self.outweight and whtarr != None:
[WARNING ] /srv/iraf/bldtmp/porcelain.g23AA24Tm8/porcelain/envs/dev/lib/python2.7/site-packages/drizzlepac/util.py:1066:
FutureWarning: comparison to `None` will result in an elementwise object comparison
in the future.
  assert(dataArray != None), "Please supply a data array for createFiles"

@pllim pllim added the bug label Jan 24, 2017

@mcara

This comment has been minimized.

Member

mcara commented Feb 2, 2017

This is addressed in PR #25

@mcara

This comment has been minimized.

Member

mcara commented Feb 4, 2017

Merged #25

@mcara mcara closed this Feb 4, 2017

@mcara mcara self-assigned this Mar 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment