Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

Commit eec1ad9

Browse files
author
Cezary Szyszka
committed
Initial commit of data checker script
1 parent 5f8c8b9 commit eec1ad9

File tree

2 files changed

+597
-0
lines changed

2 files changed

+597
-0
lines changed

osi-data-checker/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# The purpose of this package is to compare two sets of osi data.
2+
3+
## General Information
4+
The script was created to detect abnormalities between two different osi files.
5+
The first file is treated as a benchmark for the second file.
6+
7+
8+
## Usage
9+
10+
The script should be run with python 2.7.
11+
The script expect at least two positional arguments. Both of those are osi-encoded messages.
12+
Thi first file is treated as a benchmark.
13+
14+
It can be run using the following command.
15+
./compare_data.py input.txt input_2.txt
16+
Because the parsing of the file takes significant amount of time it is recommended, at least for the initial tests, to restrict number of read messages.
17+
18+
19+
20+
### Command line options
21+
-help -h Display help
22+
-v Verbose mode - Display more informations
23+
-rl read line limit Limits the number of lines read from the input file. If set, only firs first X number of osi messages will be read.
24+
25+
26+
### Dependencies
27+
The script is written for python 2.7.
28+
29+
The script uses
30+
- Python modules os, sys, argparse and logging
31+
- numpy http://www.numpy.org/
32+
- termcolor https://pypi.python.org/pypi/termcolor

0 commit comments

Comments
 (0)