Commit f0b4b1cc authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

js/tools.js: processCloneDBContents(), message when there are no occurrences in the db

parent 3d79a97c
......@@ -141,6 +141,10 @@ function processCloneDBContents(results) {
}
if (count_non_viewable > 0)
final_results['Non viewable samples'] = count_non_viewable;
if (Object.keys(final_results).length == 0)
final_results[''] = "No occurrence of this clone in CloneDB"
final_results['original'] = results;
return final_results;
}
......
Supports Markdown
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