(ticket:2)
* Thank heavens for regex!
* URL for valid flow cell number is any alphanumeric character now
rather than FC#####.
* Getting the flowcell number from the directory path should now work
again.
urlpatterns = patterns('',
# Example:
- (r'^(?P<flowcell>FC\d+)/$', 'gaworkflow.frontend.eland_config.views.config'),
+ (r'^(?P<flowcell>[0-9a-zA-Z]+)/$', 'gaworkflow.frontend.eland_config.views.config'),
(r'^$', 'gaworkflow.frontend.eland_config.views.config'),
#(r'^$', 'gaworkflow.frontend.eland_config.views.index')
from gaworkflow.pipeline.configure_run import *
from gaworkflow.pipeline.monitors import startCmdLineStatusMonitor
-s_fc = re.compile('FC[0-9]+')
+#s_fc = re.compile('FC[0-9]+')
+s_fc = re.compile('_[0-9a-zA-Z]*$')
def _get_flowcell_from_rundir(run_dir):
logging.error('RunDir 2 FlowCell error: %s' % (run_dir))
return None
- return dirname[mo.start():]
+ return dirname[mo.start()+1:]