# HG changeset patch # User trinity_ctat # Date 1540515344 14400 # Node ID f4f48007db67c2f16517e9824b890ae941a4774a # Parent 3acb7bc809b5f092c410c0fe632fe51d869a92f8 Uploaded diff -r 3acb7bc809b5 -r f4f48007db67 data_manager/add_ctat_resource_lib.py --- a/data_manager/add_ctat_resource_lib.py Thu Oct 25 17:38:12 2018 -0400 +++ b/data_manager/add_ctat_resource_lib.py Thu Oct 25 20:55:44 2018 -0400 @@ -1338,9 +1338,6 @@ # params = from_json_string(open(filename).read()) # target_directory = params['output_data'][0]['extra_files_path'] # os.mkdir(target_directory) - - print "The value of download_url argument is:\n\t{:s}".format(str(args.download_url)) - sys.stdout.flush() lib_was_built = False extracted_directory = None @@ -1350,11 +1347,10 @@ download_location_is_set = (args.download_location is not None) and (args.download_location != "") source_location_is_set = (args.source_location is not None) and (args.source_location != "") build_location_is_set = (args.build_location is not None) and (args.build_location != "") - # FIX - need to make sure we are handling all "possible" combinations of arguments. - # Probably would be good if we could simplify/remove some of them. - # But I think the current interface is using them all. - + if download_url_is_set: + print "The value of download_url argument is:\n\t{:s}".format(str(args.download_url)) + sys.stdout.flush() if source_location_is_set: raise ValueError("Argument --source_location cannot be used in combination with --download_url.") if not download_location_is_set: