-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
h5toText: read variable length strings from HDF5 files and provide
example
- Loading branch information
Showing
6 changed files
with
422 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,38 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
'''developer test for h5toText''' | ||
|
||
#----------------------------------------------------------------------------- | ||
# :author: Pete R. Jemian | ||
# :email: prjemian@gmail.com | ||
# :copyright: (c) 2014-2015, Pete R. Jemian | ||
# | ||
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License. | ||
# | ||
# The full license is in the file LICENSE.txt, distributed with this software. | ||
#----------------------------------------------------------------------------- | ||
|
||
|
||
import os | ||
import sys | ||
import h5toText | ||
|
||
testpath = os.path.abspath(os.path.split(__file__)[0]) | ||
|
||
sys.argv = [sys.argv[0],] | ||
# sys.argv.append('-h') | ||
# sys.argv.append('-V') | ||
# sys.argv.append('-a') | ||
# sys.argv.append('-n') | ||
# sys.argv.append('6') | ||
sys.argv.append(os.path.join(testpath, 'data', 'writer_1_3.h5')) | ||
sys.argv.append(os.path.join(testpath, 'data', 'Data_Q.h5')) | ||
|
||
|
||
# Show how to get the help/usage text | ||
# sys.argv = [sys.argv[0], ] | ||
# sys.argv.append('-h') | ||
|
||
h5toText.main() | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
'''developer test for h5toText''' | ||
|
||
#----------------------------------------------------------------------------- | ||
# :author: Pete R. Jemian | ||
# :email: prjemian@gmail.com | ||
# :copyright: (c) 2014-2015, Pete R. Jemian | ||
# | ||
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License. | ||
# | ||
# The full license is in the file LICENSE.txt, distributed with this software. | ||
#----------------------------------------------------------------------------- | ||
|
||
|
||
import os | ||
import sys | ||
import h5toText | ||
|
||
testpath = os.path.abspath(os.path.split(__file__)[0]) | ||
|
||
sys.argv = [sys.argv[0],] | ||
# sys.argv.append('-h') | ||
# sys.argv.append('-V') | ||
# sys.argv.append('-a') | ||
# sys.argv.append('-n') | ||
# sys.argv.append('6') | ||
# sys.argv.append(os.path.join(testpath, 'data', 'writer_1_3.h5')) | ||
sys.argv.append(os.path.join(testpath, 'data', 'Data_Q.h5')) | ||
# sys.argv.append(os.path.join(os.environ['HOMEPATH'], 'Desktop', 'thau_1.nxs.hdf')) | ||
|
||
|
||
# Show how to get the help/usage text | ||
# sys.argv = [sys.argv[0], ] | ||
# sys.argv.append('-h') | ||
|
||
h5toText.main() |
Oops, something went wrong.