lib/dataset.rb in lazar-1.0.1 vs lib/dataset.rb in lazar-1.1.0
- old
+ new
@@ -44,10 +44,10 @@
substance = substance.id if substance.is_a? Substance
feature = feature.id if feature.is_a? Feature
if data_entries[substance.to_s] and data_entries[substance.to_s][feature.to_s]
data_entries[substance.to_s][feature.to_s]
else
- nil
+ [nil]
end
end
# Writers