Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

look at xml_response.body as well as comented checkIfInstrumented

  • Loading branch information...
commit d9dd1097765f3b348b8f3e088806ed3c108e5157 1 parent 1bf6fa5
@rdulepet authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 job.rb
  2. +1 −1  processing_node.rb
View
4 job.rb
@@ -136,11 +136,11 @@ def run
# check if the R code was already instrumented by the developer
# if so then skip instrumentation and just trust it
# otherwise instrument it
- if !InstrumentDeveloperScript::checkif_already_instrumented_code "#{Global.results_dir}/#{@curr_uuid}/#{@curr_uuid}.r"
+ #if !InstrumentDeveloperScript::checkif_already_instrumented_code "#{Global.results_dir}/#{@curr_uuid}/#{@curr_uuid}.r"
# instrument the R code before running the job to capture output
# to capture HTML output as well as log stuff
InstrumentDeveloperScript::instrument_code "#{Global.results_dir}/#{@curr_uuid}/#{@curr_uuid}.r"
- end
+ #end
# assume that job will be successful by default
# let the R script will indicate if failure
View
2  processing_node.rb
@@ -86,7 +86,7 @@ def fetch_next_job
# issue command to fetch next job
begin
xml_response = @site['jobs_queues/run_next_job'].put '', {:content_length => '0', :content_type => 'text/xml'}
- job = Job.new(xml_response, @server_node)
+ job = Job.new(xml_response.body, @server_node)
return job
rescue Exception => exception_not_found
return_status = exception_not_found.to_s
Please sign in to comment.
Something went wrong with that request. Please try again.