Compare commits
2 Commits
e43a235c12
...
3db3e0a0de
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3db3e0a0de | ||
![]() |
08e0c2fe56 |
24
README.md
Normal file
24
README.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# KISS EIS Dataformaters
|
||||||
|
|
||||||
|
Dataformaters contains misc. data formating utilites that are used to transfer file types used by eisgenerator/eistype into forign formats
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
* You must be running unix or a unix-like os such as linux
|
||||||
|
* A c++17 compiler like gcc
|
||||||
|
* cmake
|
||||||
|
* libeisgenerator
|
||||||
|
* libkisstype
|
||||||
|
* git
|
||||||
|
|
||||||
|
## Build and instructions
|
||||||
|
|
||||||
|
```
|
||||||
|
$ git clone REPO_URL dataformaters
|
||||||
|
$ cd dataformaters
|
||||||
|
$ mkdir build
|
||||||
|
$ cd build
|
||||||
|
$ cmake ..
|
||||||
|
$ make
|
||||||
|
$ make install
|
||||||
|
```
|
@ -76,8 +76,8 @@ int main(int argc, char** argv)
|
|||||||
std::string rul;
|
std::string rul;
|
||||||
if(!std::getline(rulFile, rul).good())
|
if(!std::getline(rulFile, rul).good())
|
||||||
{
|
{
|
||||||
std::cout<<argv[3]<<" dose not have the same number of lines as "<<argv[2]<<" aborting\n";
|
std::cout<<argv[3]<<" dose not have the same number of lines as "<<argv[2]<<" this could be fine or mean that the supplied label file dosent corrispond to the spectra file\n";
|
||||||
return 3;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<eis::DataPoint> data = parseLine(eisLine);
|
std::vector<eis::DataPoint> data = parseLine(eisLine);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user