Commit e45d3ce4 authored by Wai Yi Leung's avatar Wai Yi Leung
Browse files

Simplify the file check (not on md5)

parent 51b147c0
......@@ -24,10 +24,7 @@
def plotAvailable(read:String) = {
summary.getLibraryValue(sampleId.get, libId.get, "flexiprep", "files", read, plot, "md5").collect {
case md5 if md5 != "error_on_capture" => true
case otherwise => false
new File(summary.getLibraryValue(sampleId.get, libId.get, "flexiprep", "files", read, plot, "path").get.toString).exists()
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