21cmfast / 21cmFAST

Official repository for 21cmFAST: a code for generating fast simulations of the cosmological 21cm signal
MIT License
58 stars 38 forks source link

[BUG] Some spurious warnings #239

Closed steven-murray closed 3 months ago

steven-murray commented 3 years ago

Describe the bug:

There seem to be some spurious warnings:

py21cmfast/_utils.py:801: UserWarning: Trying to remove array that isn't yet created: hires_vx

when running run_coeval.

To Reproduce: Steps to reproduce the behavior:

  1. Run run_coeval with essentially no flags.

Expected behavior:

Although this behaviour does no harm (it's a no-op), it's kinda annoying to see and makes you think something might have went wrong. We should be more careful when purging the initial conditions to only purge stuff that we know exists in the first place.

AgusTor92 commented 2 years ago

I have a problem @steven-murray

I'm running the 21cmfast code and everything seems to be running smoothly except that the plots are empty and there's a message saying "ValueError: Passing parameters norm and vmin/vmax simultaneously is not supported."

steven-murray commented 2 years ago

Hi @AgusTor92. This issue seems to be the same as #266, which was fixed in v3.1.4 -- could you try upgrading to that version?