Use the HTS workflow API to figure out the library tree.
[htsworkflow.git] / htsworkflow / frontend / experiments / experiments.py
index 83b541437603197923c741550e5ca7da44dddf88..a156d7bdbe0198876f504b3f4b4276e115835787 100755 (executable)
@@ -23,7 +23,7 @@ def flowcell_information(flowcell_id):
     Return a dictionary describing a flowcell
     """
     try:
-        fc = FlowCell.objects.get(flowcell_id=flowcell_id)
+        fc = FlowCell.objects.get(flowcell_id__startswith=flowcell_id)
     except FlowCell.DoesNotExist, e:
         return None