X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=htsworkflow%2Fpipelines%2Frunfolder.py;h=cfa68a4a462d9377e2eefabd1d9c42590a5f66ee;hb=f43b060ee972f73be8ec8ae431c9522c615f354f;hp=d628f9bf1623ce20f6fabec3d0206702e2197341;hpb=02b279bc548b97d4d8386e589bf247b5635008ed;p=htsworkflow.git diff --git a/htsworkflow/pipelines/runfolder.py b/htsworkflow/pipelines/runfolder.py index d628f9b..cfa68a4 100644 --- a/htsworkflow/pipelines/runfolder.py +++ b/htsworkflow/pipelines/runfolder.py @@ -489,10 +489,11 @@ def extract_results(runs, output_base_dir=None, site="individual", num_jobs=1): compress_eland_results(g, cycle_dir) # build srf commands - lanes = range(1,9) - run_name = srf.pathname_to_run_name(r.pathname) - srf_cmds = srf.make_commands(run_name, lanes, site, cycle_dir) - srf.run_srf_commands(r.bustard.pathname, srf_cmds, 2) + if site is not None: + lanes = range(1,9) + run_name = srf.pathname_to_run_name(r.pathname) + srf_cmds = srf.make_commands(run_name, lanes, site, cycle_dir) + srf.run_srf_commands(r.bustard.pathname, srf_cmds, 2) def rm_list(files, dry_run=True): for f in files: