django-nose didn't work with django 1.1, so I went back to the nose plugin NoseDjango
[htsworkflow.git] / scripts / htsw-record-runfolder
index 288ec1ac00c1f05d327c48a0cb4cf735e16d6f3c..42bb61472d0c941787332e071f72f2422293b77e 100755 (executable)
@@ -1,8 +1,5 @@
 #!/usr/bin/env python
 
-from htsworkflow.util.hdquery import get_hd_serial_num
-from htsworkflow.frontend import settings
-
 from optparse import OptionParser
 import os
 import re
@@ -10,6 +7,10 @@ import sys
 import urllib2
 import urlparse
 
+from django.conf import settings
+
+from htsworkflow.util.hdquery import get_hd_serial_num
+
 runfolder_pattern = re.compile(r'[0-9]{6}_[-A-Za-z\d]+_\d+_(?P<flowcell>[A-Z\d]+)\.tgz')
 
 def extract_flowcell(runfolder_name):