<commit_before># cassy-charts
Python command line tool to convert .labx files from the proprietary Cassy Lab 2 to OpenDocument ODS spreadsheets. The tool can also display basic information about the retrieved measurements.

### Dependencies
``` bash
pip install lxml ezodf
```

## Usage
``` bash
python cassy-charts.py doc.labx measurements.ods
python cassy-charts.py doc.labx --details
python cassy-charts.py doc.labx -d
python cassy-charts.py doc.labx --channels 0 1 5
python cassy-charts.py doc.labx -c 0 1 5
python cassy-charts.py --help
python cassy-charts.py -h
```<commit_msg>updated help message<commit_after># cassy-charts
Python command line tool to convert .labx files from the proprietary Cassy Lab 2 to OpenDocument ODS spreadsheets. The tool can also display basic information about the retrieved measurements.

### Dependencies
``` bash
pip install lxml ezodf
```

## Usage
``` bash
python cassy-charts.py doc.labx measurements.ods
python cassy-charts.py doc.labx --details
python cassy-charts.py doc.labx -d
python cassy-charts.py doc.labx --channels 0 1 5
python cassy-charts.py doc.labx -c 0 1 5
python cassy-charts.py --help
python cassy-charts.py -h
```

## Help
``` bash
usage: cassy-charts.py [-h] [--channels [CHANNELS [CHANNELS ...]]] [--details]
                       inputfile [outputfile]

Convert and interpret .labx-files from the proprietary Leybold CASSY software.

positional arguments:
  inputfile             path to the .labx file
  outputfile            path to the ods output file

optional arguments:
  -h, --help            show this help message and exit
  --channels [CHANNELS [CHANNELS ...]], -c [CHANNELS [CHANNELS ...]]
                        whitelist channels to export
  --details, -d         print details about the channels of the .labx file
```
{'fraction_non_alphanumeric': 0.0957683741648107, 'fraction_numerical': 0.0077951002227171495, 'mean_word_length': 3.1693735498839906, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1931229', 'n_tokens_mistral': 584, 'n_tokens_neox': 520, 'n_words': 211}