X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=encode_submission%2Fgeo_gather.py;h=751264cc4276a658491c387852a180fff94929a0;hp=f9b07ab775a4491226db9c9b97215ea82f7cc54e;hb=1627e1b61f150fe4d14d6cfc85e3167e873ab514;hpb=ab3052aec5e16ebd3905ac297b958fb10a730f54 diff --git a/encode_submission/geo_gather.py b/encode_submission/geo_gather.py index f9b07ab..751264c 100644 --- a/encode_submission/geo_gather.py +++ b/encode_submission/geo_gather.py @@ -69,7 +69,10 @@ def main(cmdline=None): results = ResultMap() for a in args: - results.add_results_from_file(a) + if os.path.exists(a): + results.add_results_from_file(a) + else: + logger.warn("File %s doesn't exist.", a) if opts.make_tree_from is not None: results.make_tree_from(opts.make_tree_from)