Wednesday, April 9, 2014

Changes 4/9/14

Ruby:

  • Finished working on the download parameter and submitted a pull request.
  • I did a lot of testing to make sure the parameters worked correctly, which took a long time due to the size of the files and the time it took to download
  • Started trying to remove the various gsub (regex substitution) methods and adding one catch-all gsub before writing to the CSV
  • However, the way in which it was coded uses the (pseudo?)method << (which usually is equivalent to a .append or .push or something of the sort) to add things to the file, which for some reason assumes the thing being added with << is an enumerable.  Therefore, the current method does not work because things must be a string to call a gsub on them, but cannot be a string to be added to the csv.

No comments:

Post a Comment