buda-base / drs-deposit

Harvard DRS Deposit base
1 stars 0 forks source link

getReadyWorks incorrect line ending #73

Closed jimk-bdrc closed 6 years ago

jimk-bdrc commented 6 years ago

The routine that getReadyWorks uses to write the csv file has an incorrect line ending (\r\n) (regardless of which system, PC or Mac, generated it). make-drs-batch.sh has been getting away with it since we don't process the last two comma separated fields. (I found this when processing a one columns csv file).

The fix is to use DBApps\readyrelated.py:_dumpToFile(path, column names) in the csv writer base class.

jimk-bdrc commented 6 years ago

Fixed