(stdlib -> large dependencies -> app specific parts)
+import logging
+
+from django.core.exceptions import ObjectDoesNotExist
+from django.core import urlresolvers
from django.db import models
from django.db import models
from htsworkflow.frontend.samples.models import *
from htsworkflow.frontend.settings import options
from htsworkflow.frontend.samples.models import *
from htsworkflow.frontend.settings import options
-from django.core.exceptions import ObjectDoesNotExist
-import logging
class ClusterStation(models.Model):
name = models.CharField(max_length=50, unique=True)
class ClusterStation(models.Model):
name = models.CharField(max_length=50, unique=True)
except ValueError,e:
logging.error("invalid value for frontend.default_pm")
except ValueError,e:
logging.error("invalid value for frontend.default_pm")
class FlowCell(models.Model):
flowcell_id = models.CharField(max_length=20, unique=True, db_index=True)
class FlowCell(models.Model):
flowcell_id = models.CharField(max_length=20, unique=True, db_index=True)