<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear Jiemin,
<div class="">Thanks for your inquiry. I think you have encountered a bug in the nexusformat package, which occurs when the ‘target’ attribute of a linked object in the HDF5 file is encoded as a fixed-length unicode string. This is a perfectly valid way of
 storing the attribute, so I’m puzzled that it hasn’t shown up before, but I will try to issue a bug-fix release as soon as possible to v0.4.5. If you install it, it shouldn’t be necessary to update NeXpy itself, just the nexusformat package, i.e., </div>
<div class=""><br class="">
</div>
<div class="">pip install -U nexusformat</div>
<div class=""><br class="">
</div>
<div class="">NeXpy is designed to be run directly from the command line, rather than from within a Python shell. If you are using a Cygwin or other emulation shell, it should be possible to just type ‘nexpy’, because ‘pip’ should have installed the launch
 script somewhere in your path. </div>
<div class=""><br class="">
</div>
<div class="">With regards,</div>
<div class="">Ray</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On Sep 26, 2016, at 4:25 PM, <a href="mailto:jiemin.li@diamond.ac.uk" class="">
jiemin.li@diamond.ac.uk</a> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Dear Contributor of NeXpy:<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 36pt;" class="">
Thank you very much for your continuous effort on this package, so that people whose occupation is related to scientific research would be able to work in a more efficient way. I deeply appreciate your work.<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 36pt;" class="">
I’m a PhD student at Diamond Light Source and just make use of Python to analysis our data. At present, I’m not very familiar with Python. Here, I came across two problems as trying to use NeXpy package in Python. I have tried to search the answers online.
 But few information about NeXpy can be found, maybe because it is just a new baby in the big family of Python. So I have no choice but to seek your help. Here are my question:<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 54pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -18pt;" class="">
<span class="">(1)<span style="font-style: normal; font-variant-caps: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman';" class="">   <span class="Apple-converted-space"> </span></span></span>I have followed the
 instruction from website:<span class="Apple-converted-space"> </span><a href="https://github.com/nexpy/nexpy" style="color: purple; text-decoration: underline;" class="">https://github.com/nexpy/nexpy</a><span class="Apple-converted-space"> </span>to install
 nexpy successfully by utilizing the pip command of Python in cmd of Windows7. And I also install the relating packages: <jupyter>, <Ipython>, <h5py>, <numpy>, <scipy>, <matplotlib>, <lmfit> ,<spec2nexus>. But when I try to use NeXpy to extract the tree of
 our data in Python Console, some problems emerge. See the attached .PNG figures. From the figure1, it demonstrates that file of tree.py does exist in the nexus file of nexusformat package. But from the figure2, there is no attribute-tree of object-a which
 I have created by utilizing nxload function.<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 54pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
So could you please help me to point out how I should do?<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 54pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -18pt;" class="">
<span class="">(2)<span style="font-style: normal; font-variant-caps: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman';" class="">   <span class="Apple-converted-space"> </span></span></span>When I type nexus
 in Python Console, it doesn’t display the nexus GUI. So how can I invoke the nexus GUI in Python Console?<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
That’s all.<span class="Apple-converted-space"> </span><o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Thank you very much for your time on these issues. And I look forward to hearing from you.<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Best regards,<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Jiemin<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
PhD Student<span class="Apple-converted-space"> </span><o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Diamond Light Source<o:p class=""></o:p></div>
</div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
 <br class="webkit-block-placeholder">
</div>
<p align="justify" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
-- </p>
<p align="justify" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt
 by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.<br class="">
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.<span class="Apple-converted-space"> </span><br class="">
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.<br class="">
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<br class="">
 </p>
<span id="cid:FB09590F-124E-4C93-B248-3CB347E5AE53"><1.PNG></span><span id="cid:6A2D3BD3-BE18-4E90-A13C-30E6706A9FC8"><2.PNG></span><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">NeXus
 mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="mailto:NeXus@nexusformat.org" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">NeXus@nexusformat.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="http://lists.nexusformat.org/mailman/listinfo/nexus" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.nexusformat.org/mailman/listinfo/nexus</a></div>
</blockquote>
</div>
<br class="">
<div class="">-- <br class="">
Ray Osborn, Senior Scientist<br class="">
Materials Science Division<br class="">
Argonne National Laboratory<br class="">
Argonne, IL 60439, USA<br class="">
Phone: +1 (630) 252-9011<br class="">
Email: <a href="mailto:ROsborn@anl.gov" class="">ROsborn@anl.gov</a><br class="">
<br class="">
</div>
<br class="">
</div>
</body>
</html>