ISSUE#494. General code cleanup. Code was looping through samples and processes but not using samples, so I removed that outer loop. Also got rid of printing the results of a call to rethinkdb.
ISSUE#494. General code cleanup. Code was looping through samples and
processes but not using samples, so I removed that outer loop. Also got
rid of printing the results of a call to rethinkdb.

materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org