HI all,
I'm getting a weird failure in the annotate particles callback that I'm having trouble reproducing on another machine.
Here is the error message output I'm getting: http://paste.yt-project.org/show/7048/ . I'm just doing a simple:
$ sp = yt.SlicePlot(ds, 'z', 'density') $ sp.annotate_particles(0.9) $ sp.save()
This error occurs only on a machine where I have yt installed from source (version 3.3.4, changeset 6e21d8723012 of the stable branch.. this also occured on changeset 7f76a9ccfcca). I could not reproduce the error on a local machine where I've installed yt using anaconda (yt version 3.3.4). It fails on a ProjectionPlot as well.
Any thoughts on what could be causing this?
Thanks, Andrew
Hi Andrew,
This an issue I just solved two days ago in this PR https://bitbucket.org/yt_analysis/yt/pull-requests/2527. It’s related to the numpy version. A quick fix is to pass `stride=1` to `annotate_particles` directly. Or you can update yt to the most recent version where that PR is merged.
Hope that helps.
Regards, Bili
On Feb 24, 2017, at 11:49 AM, Andrew James Emerick aje2123@columbia.edu wrote:
HI all,
I'm getting a weird failure in the annotate particles callback that I'm having trouble reproducing on another machine.
Here is the error message output I'm getting: http://paste.yt-project.org/show/7048/ http://paste.yt-project.org/show/7048/ . I'm just doing a simple:
$ sp = yt.SlicePlot(ds, 'z', 'density') $ sp.annotate_particles(0.9) $ sp.save()
This error occurs only on a machine where I have yt installed from source (version 3.3.4, changeset 6e21d8723012 of the stable branch.. this also occured on changeset 7f76a9ccfcca). I could not reproduce the error on a local machine where I've installed yt using anaconda (yt version 3.3.4). It fails on a ProjectionPlot as well.
Any thoughts on what could be causing this?
Thanks, Andrew -- NSF Graduate Fellow Columbia University Department of Astronomy _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
On Fri, Feb 24, 2017 at 1:53 PM, Bili Dong qobilidop@gmail.com wrote:
Hi Andrew,
This an issue I just solved two days ago in this PR https://bitbucket.org/yt_analysis/yt/pull-requests/2527. It’s related to the numpy version. A quick fix is to pass `stride=1` to `annotate_particles` directly. Or you can update yt to the most recent version where that PR is merged.
We'll be cutting a new release including this fix (and a few others as well) in the next few days.
Hope that helps.
Regards, Bili
On Feb 24, 2017, at 11:49 AM, Andrew James Emerick aje2123@columbia.edu wrote:
HI all,
I'm getting a weird failure in the annotate particles callback that I'm having trouble reproducing on another machine.
Here is the error message output I'm getting: http://paste.yt- project.org/show/7048/ . I'm just doing a simple:
$ sp = yt.SlicePlot(ds, 'z', 'density') $ sp.annotate_particles(0.9) $ sp.save()
This error occurs only on a machine where I have yt installed from source (version 3.3.4, changeset 6e21d8723012 of the stable branch.. this also occured on changeset 7f76a9ccfcca). I could not reproduce the error on a local machine where I've installed yt using anaconda (yt version 3.3.4). It fails on a ProjectionPlot as well.
Any thoughts on what could be causing this?
Thanks, Andrew -- NSF Graduate Fellow Columbia University Department of Astronomy _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org