Ticket #6007 (closed: fixed)
Ship the nexus python bindings
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Release 2.3 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Nick Draper |
Description
This will allow more free access to nexus files.
Change History
comment:2 Changed 8 years ago by Martyn Gigg
Add NeXus Python bindings. Refs #6007
Changeset: da52efc4220ceba987087c8118ee5d06b69dc784
comment:3 Changed 8 years ago by Martyn Gigg
Add the NeXus python bindings. Refs #6007
Changeset: 9973e0ea54e3056eb59c8eaa6aab837aeab4d981
comment:4 Changed 8 years ago by Martyn Gigg
Add environment module to wrap around platform Refs #6007
Gives more readable access to things like checking for windows/linux/mac etc
Changeset: a94a19f2f2ec6a65b7e0ecdbf4c7eca14a035d7f
comment:5 Changed 8 years ago by Martyn Gigg
Add module to set NEXUSLIB when starting mantid... Refs #6007
so that Mantid users can "import nxs" if without hassle. The module is autogenerated as CMake "knows" the locations of the NeXus library.
Changeset: f76438144d99e1afb729c8c055e9d259cfd8d25f
comment:6 Changed 8 years ago by Martyn Gigg
Add dependency on nexus-python for redhat/ubuntu packages. Refs #6007
Changeset: 961cefa2bdc7b3936d2f250540ba0cd9753a7206
comment:7 Changed 8 years ago by Martyn Gigg
Fix name clash on import. Refs #6007
Changeset: df449835d135d08612721f93726a21c11ceaf02f
comment:8 Changed 8 years ago by Martyn Gigg
Force Python kernel module recompile. Refs #6007
Changeset: 77517575bddee8324959796267a822307e584923
comment:9 Changed 8 years ago by Martyn Gigg
Disable copy while investigating. Refs #6007
Changeset: c79f5906f711441b34b62936283b71b6e4579295
comment:10 Changed 8 years ago by Martyn Gigg
Create nexuslib.pyc without using POST_BUILD Refs #6007
This makes sures it is up-to-date even if none of the C files changes.
Changeset: abd3aee958232a8541d2e02f004e01694ef9cd6f
comment:11 Changed 8 years ago by Martyn Gigg
Fix for RHEL6 python compileall. Refs #6007
It doesn't seem to support single files, only directories with exclusions.
Changeset: d14453bd11b267d82fa6d8d2da4682f2f30542f7
comment:12 Changed 8 years ago by Martyn Gigg
Generalise nexuslib -> packagesetup Refs #6007
Allows for future customizations without lots of extra little modules and additional CMake overhead.
Changeset: cf91a34ff5b7e877b272bfc8bc78903a1dc45da2
comment:13 Changed 8 years ago by Martyn Gigg
Add nxs package. Refs #6007
Changeset: 439e03949bc2e19210eed402bcd05c3e78232a31
comment:14 Changed 8 years ago by Martyn Gigg
Install nxs package on Darwin. Refs #6007
Currently thrown in the bin directory like the others.
Changeset: cce1d4190aa9046464f516dbd86f2fc73e673ebd
comment:15 Changed 8 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:16 Changed 8 years ago by Martyn Gigg
Match libnexus0-python & libnexus0 version on ubuntu Refs #6007
Changeset: ea4635e2146ee5e33bf9748f0a2a65d5a2040c6d
comment:17 Changed 8 years ago by Nick Draper
- Status changed from verify to verifying
- Tester set to Nick Draper
comment:18 Changed 8 years ago by Nick Draper
- Status changed from verifying to closed
tested using this script
import nxs file=nxs.open(r'c:\MantidInstall\data\HYS_11388_event.nxs','r') file.opengroup('entry') file.opendata('definition') print file.getdata() file.close()
comment:19 Changed 8 years ago by Martyn Gigg
Add environment module to wrap around platform Refs #6007
Gives more readable access to things like checking for windows/linux/mac etc
Changeset: a94a19f2f2ec6a65b7e0ecdbf4c7eca14a035d7f
comment:20 Changed 8 years ago by Martyn Gigg
Add module to set NEXUSLIB when starting mantid... Refs #6007
so that Mantid users can "import nxs" if without hassle. The module is autogenerated as CMake "knows" the locations of the NeXus library.
Changeset: f76438144d99e1afb729c8c055e9d259cfd8d25f
comment:21 Changed 8 years ago by Martyn Gigg
Add dependency on nexus-python for redhat/ubuntu packages. Refs #6007
Changeset: 961cefa2bdc7b3936d2f250540ba0cd9753a7206
comment:22 Changed 8 years ago by Martyn Gigg
Fix name clash on import. Refs #6007
Changeset: df449835d135d08612721f93726a21c11ceaf02f
comment:23 Changed 8 years ago by Martyn Gigg
Force Python kernel module recompile. Refs #6007
Changeset: 77517575bddee8324959796267a822307e584923
comment:24 Changed 8 years ago by Martyn Gigg
Disable copy while investigating. Refs #6007
Changeset: c79f5906f711441b34b62936283b71b6e4579295
comment:25 Changed 8 years ago by Martyn Gigg
Create nexuslib.pyc without using POST_BUILD Refs #6007
This makes sures it is up-to-date even if none of the C files changes.
Changeset: abd3aee958232a8541d2e02f004e01694ef9cd6f
comment:26 Changed 8 years ago by Martyn Gigg
Fix for RHEL6 python compileall. Refs #6007
It doesn't seem to support single files, only directories with exclusions.
Changeset: d14453bd11b267d82fa6d8d2da4682f2f30542f7
comment:27 Changed 8 years ago by Martyn Gigg
Generalise nexuslib -> packagesetup Refs #6007
Allows for future customizations without lots of extra little modules and additional CMake overhead.
Changeset: cf91a34ff5b7e877b272bfc8bc78903a1dc45da2
comment:28 Changed 8 years ago by Martyn Gigg
Install nxs package on Darwin. Refs #6007
Currently thrown in the bin directory like the others.
Changeset: cce1d4190aa9046464f516dbd86f2fc73e673ebd
comment:29 Changed 8 years ago by Martyn Gigg
Match libnexus0-python & libnexus0 version on ubuntu Refs #6007
Changeset: ea4635e2146ee5e33bf9748f0a2a65d5a2040c6d
comment:30 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 6853