<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 18, 2015 at 3:52 PM, John ZuHone <span dir="ltr"><<a href="mailto:jzuhone@gmail.com" target="_blank">jzuhone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
<br>
> On Jan 18, 2015, at 6:24 PM, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>> wrote:<br>
><br>
> fair enough.  it should also be possible to make h5py an on-demand import, like astropy.<br>
<br>
</span>That would probably be pretty difficult, actually. I've had people ask for this, but their use cases are pretty corner.<br></blockquote><div><br></div><div>I think making the top-level "yt" import not depend on h5py is definitely doable.<br></div><div><br></div><div>We import h5py a bunch of places, but we don't actually *need* it for anything besides reading certain data types and things like hdf5 sidecar files, which can just fail with an import error.</div><div><br></div><div>In fact, the only thing we use in the h5py namespace is "File", so we would just need to wrap that class.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5">_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</div></div></blockquote></div><br></div></div>