Move parse_flowcell_id out of frontend.samples.results
[htsworkflow.git] / htsworkflow / frontend / samples / results.py
index 3c6543a31bce847e7ab6d4ec72d8ff153e44c836..2724a378a3f6b50610a13325a92812df5252bc41 100644 (file)
@@ -120,19 +120,3 @@ def cn_mTobp(cn_m):
     pass
 
 
-def parse_flowcell_id(flowcell_id):
-    """
-    Return flowcell id and any status encoded in the id
-  
-    We stored the status information in the flowcell id name.
-    this was dumb, but database schemas are hard to update.
-    """
-    fields = flowcell_id.split()
-    fcid = None
-    status = None
-    if len(fields) > 0:
-        fcid = fields[0]
-    if len(fields) > 1:
-        status = fields[1]
-    return fcid, status
-