Compare commits

...

2 Commits

Author SHA1 Message Date
Carl Philipp Klemm
3db3e0a0de add readme 2025-01-20 17:02:52 +01:00
Carl Philipp Klemm
08e0c2fe56 matlabarrytoeis: dont abort on file length missmatch as thats fine for RUL data 2024-11-21 16:59:49 +01:00
2 changed files with 26 additions and 2 deletions

24
README.md Normal file
View 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
```

View File

@ -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);