<commit_before># BDRecovery (Flow Cytometry)
######Recovery of FCS files in the BDData

If you don’t regularly backup your database
when using BD FACS Diva your database might go 
corrupt.  This tool allow you  to recover the files
in the BD Data folder and put them into folders by
/User/Experiment/Specimen 

##Binaries
Binaries for MacOS(64 bit), Windows(64 bit) and WindowsXP(32 bit) are in the ```/bin``` folder. 

+ Usage:  ```recovery -src BDData Dir -des Backup Dir ``` 
+ Example in MacOS:  ```recovery -src /Users/JDoe/BDdata -des /

##Compiling from source
Make sure you have [Go](golang.org) installed on your system.

+ Building:  ```go build recovery.go```
Users/JDoe/RecoveredFCS```


##Before Recovery 
![Before Recovery](./img/before.jpg)

##After Recovery
![After Recovery](./img/after.jpg)


<commit_msg>Minor errors fixed.<commit_after># BDRecovery (Flow Cytometry)
######Recovery of FCS files in the BDData

If you don’t regularly backup your database
when using BD FACS Diva your database might go 
corrupt.  This tool allow you  to recover the files
in the BD Data folder and put them into folders by
/User/Experiment/Specimen 

##Binaries
Binaries for MacOS(64 bit), Windows(64 bit) and WindowsXP(32 bit) are in the ```/bin``` folder. 

+ Usage:  ```./recovery -src BDData Dir -des Backup Dir ``` 
+ Example in MacOS:  ```recovery -src /Users/JDoe/BDdata -des /Users/JDoe/RecoveredFCS```

##Compiling from source
Make sure you have [Go](golang.org) installed on your system.

+ Building:  ```go build recovery.go```



##Before Recovery 
![Before Recovery](./img/before.jpg)

##After Recovery
![After Recovery](./img/after.jpg)



{'fraction_non_alphanumeric': 0.1215235792019347, 'fraction_numerical': 0.007255139056831923, 'mean_word_length': 4.237341772151899, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1384301', 'n_tokens_mistral': 573, 'n_tokens_neox': 514, 'n_words': 208}