AmmosSource
guix
|
Last change
on this file since e764b0e was e764b0e, checked in by Enrico Schwass <ennoausberlin@…>, 4 years ago |
|
init.py cleared - typo in setup.cfg fixed
|
-
Property mode
set to
100644
|
|
File size:
444 bytes
|
| Rev | Line | |
|---|
| [e764b0e] | 1 | !#/usr/bin/env python3
|
|---|
| 2 |
|
|---|
| [1e781ba] | 3 | import sys
|
|---|
| 4 | import os
|
|---|
| [f3421e6] | 5 | sys.path.append('../src/')
|
|---|
| [1e781ba] | 6 |
|
|---|
| [f3421e6] | 7 | from ammosreader.AmmosIFReader import AmmosIFReader
|
|---|
| [1e781ba] | 8 |
|
|---|
| 9 | if __name__ == '__main__':
|
|---|
| 10 |
|
|---|
| 11 | if len(sys.argv) != 2:
|
|---|
| 12 | sys.exit()
|
|---|
| 13 |
|
|---|
| 14 | file_name = sys.argv[1]
|
|---|
| 15 |
|
|---|
| 16 | print("File name:", file_name)
|
|---|
| 17 |
|
|---|
| 18 | dat_file = AmmosIFReader(file_name)
|
|---|
| 19 |
|
|---|
| 20 | dat_file.read_all_frames_left()
|
|---|
| 21 | print(dat_file.container)
|
|---|
| [4180d6a] | 22 |
|
|---|
| 23 | for each in dat_file.container.global_frames:
|
|---|
| 24 | print(each)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.