UIUCSinhaLab / GEMSTAT

Thermodynamics-based models of transcriptional regulation by enhancers: the roles of synergistic activation, cooperative binding and short-range repression
6 stars 8 forks source link

Copious IO inlined in main fuction. #2

Open bryan-lunt opened 9 years ago

bryan-lunt commented 9 years ago

There is a lot of IO inlined in the main function that could be moved out to an IO.cpp / IO.h file.

The various parsers implemented should be DRY, and should also be absolutely pedantic. (Excess data afterward in a file should cause an error!)

bryan-lunt commented 9 years ago

These Lines 209-294 in master seq2expr.cpp ( https://github.com/UIUCSinhaLab/GEMSTAT/blob/master/src/seq2expr.cpp#L209-L294 ) either into their own file or into IO.cpp/IO.h .

( 221 - 294 in bryanInd ) https://github.com/UIUCSinhaLab/GEMSTAT/blob/bryanInd/src/seq2expr.cpp#L221-L294