lib/macroape/cli/preprocess_collection.rb in macroape-3.3.4 vs lib/macroape/cli/preprocess_collection.rb in macroape-3.3.5

- old
+ new

@@ -72,10 +72,10 @@ pvalues = default_pvalues if pvalues.empty? collection = Macroape::Collection.new(rough_discretization, precise_discretization, background, pvalues) if File.directory?(data_source) - motifs = Dir.glob(File.join(data_source,'*')).map do |filename| + motifs = Dir.glob(File.join(data_source,'*')).map do |filename| pwm = data_model.new(File.read(filename)) pwm.name ||= File.basename(filename, File.extname(filename)) pwm end elsif File.file?(data_source) \ No newline at end of file