Pārlūkot izejas kodu

Fixed anomaly detection path

Andrew Kane 8 gadi atpakaļ
vecāks
revīzija
c9674a5b32
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/blazer/result.rb

+ 1 - 1
lib/blazer/result.rb

@@ -129,7 +129,7 @@ module Blazer
       timestamps = []
       r_script = %x[which Rscript].chomp
       raise "R not found" if r_script.empty?
-      output = %x[#{r_script} --vanilla #{File.expand_path("../blazer/detect_anomalies.R", __FILE__)} #{Shellwords.escape(csv_str)}]
+      output = %x[#{r_script} --vanilla #{File.expand_path("../detect_anomalies.R", __FILE__)} #{Shellwords.escape(csv_str)}]
       if output.empty?
         raise "Unknown R error"
       end