Commit 78b6a6ba authored by DELABROYE Dimitri's avatar DELABROYE Dimitri

[lib/valide/homogeneity] fix bug #10709

parent 0b6d8cdd
Pipeline #89163 failed with stages
in 40 seconds
......@@ -177,8 +177,8 @@ def cluster_homogeneity(refapi_hash, options = {:verbose => false})
count[site_uid] = {}
site["clusters"].sort.each do |cluster_uid, cluster|
next if options.key?(:clusters) && !options[:clusters].include?(cluster_uid)
next if options.key?(:clusters) &&
!(options[:clusters].include?(cluster_uid) || options[:clusters].empty?)
count[site_uid][cluster_uid] = 0
refnode_uid = nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment