It looks like commit 5515886 makes this step unnecessary.  The updated code get this information from the user interactively.

Also, I couldn't find file "uploadcovariates".  Did you mean "uploadcultivars.rb"?