AmmosSource
guix
|
Last change
on this file since bcf4258 was f3421e6, checked in by recknagel <recknagel@…>, 4 years ago |
|
updated sample_scripts
|
-
Property mode
set to
100644
|
|
File size:
349 bytes
|
| Rev | Line | |
|---|
| [1e781ba] | 1 | import sys
|
|---|
| 2 | import os
|
|---|
| [f3421e6] | 3 | sys.path.append('../src/')
|
|---|
| [1e781ba] | 4 |
|
|---|
| [f3421e6] | 5 | from ammosreader.AmmosIFReader import AmmosIFReader
|
|---|
| [1e781ba] | 6 |
|
|---|
| 7 | if __name__ == '__main__':
|
|---|
| 8 |
|
|---|
| 9 | if len(sys.argv) != 2:
|
|---|
| 10 | sys.exit()
|
|---|
| 11 |
|
|---|
| 12 | file_name = sys.argv[1]
|
|---|
| 13 |
|
|---|
| 14 | print("File name:", file_name)
|
|---|
| 15 |
|
|---|
| 16 | dat_file = AmmosIFReader(file_name)
|
|---|
| 17 |
|
|---|
| 18 | dat_file.read_all_frames_left()
|
|---|
| 19 | print(dat_file.container)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.