瀏覽代碼

Fixed anomaly detection path

Andrew Kane 8 年之前
父節點
當前提交
c9674a5b32
共有 1 個文件被更改,包括 1 次插入1 次删除
  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