lib/macroape/cli/preprocess_collection.rb in macroape-4.0.1 vs lib/macroape/cli/preprocess_collection.rb in macroape-4.0.2
- old
+ new
@@ -88,9 +88,10 @@
filelist = $stdin.read.shellsplit
motifs = []
filelist.each do |filename|
motif = data_model.new(File.read(filename))
motif.name ||= File.basename(filename, File.extname(filename))
+ motif.set_parameters(background: background)
motifs << motif
end
else
raise "Specified data source `#{data_source}` is neither directory nor file nor even .stdin"
end
\ No newline at end of file