Issue #918: Deposit fields cannot be created using ghost zones (yt_analysis/yt)
New issue 918: Deposit fields cannot be created using ghost zones https://bitbucket.org/yt_analysis/yt/issue/918/deposit-fields-cannot-be-crea... Nathan Goldbaum: After applying the following patch: ``` #!patch diff -r 7ae8714f591e yt/fields/particle_fields.py --- a/yt/fields/particle_fields.py Tue Oct 07 23:21:33 2014 -0700 +++ b/yt/fields/particle_fields.py Wed Oct 08 14:57:04 2014 -0700 @@ -121,7 +121,7 @@ registry.add_field(("deposit", "%s_cic" % ptype), function = particle_cic, - validators = [ValidateSpatial()], + validators = [ValidateSpatial(1)], display_name = "\\mathrm{%s CIC Density}" % ptype_dn, units = "g/cm**3") ``` And running this script: http://paste.yt-project.org/show/5151/ The following error will be raised: https://bpaste.net/show/1a4dbe75eb96 This is actually infinite recursion error, the incorrect error raised here is fixed in [PR 1244](https://bitbucket.org/yt_analysis/yt/pull-request/1244/remove-some-unnecessa...). h/t to @atmyers for originally discovering this error.
participants (1)
-
Nathan Goldbaum