DRAGNLabs / 301r_retnet

2 stars 1 forks source link

Generate 2 csv #36

Closed DrewGalbraith closed 4 months ago

DrewGalbraith commented 4 months ago

Our generate function simply prints output to a .out file, but this is not ideal for using our outputs in downstream tasks. This PR adds functionality to write them out to a csv by specifiying a path in the yaml. Thus:

The function is only called if the yaml parameter is not none, and it will appends to a file (intentionally not writes) the time of addition, the name of the model type that generated it, and the outputs themselves. There are no headers to these CSVs.