Преглед изворни кода

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