lib/bio-publisci/writers/dataframe.rb in bio-publisci-0.0.7 vs lib/bio-publisci/writers/dataframe.rb in bio-publisci-0.0.8
- old
+ new
@@ -1,7 +1,7 @@
module PubliSci
- module Writer
+ module Writers
module Dataframe
def framestring(name,vectors)
framestr = "#{name} = data.frame("
vectors.map{ |k,v| framestr << k + '=' + k +','}
@@ -37,10 +37,10 @@
end
end
class Builder
- include PubliSci::Writer::Dataframe
+ include PubliSci::Writers::Dataframe
def from_turtle(turtle_file, connection, variable_in=nil, variable_out=nil, verbose=true, save=true)
unless variable_in && variable_out
puts "no variable specified. Simple inference coming soon" if verbose
\ No newline at end of file