Loading client/vos_data +1 −3 Original line number Diff line number Diff line Loading @@ -76,9 +76,7 @@ EXAMPLES if not storageList: sys.exit("No storage point found. Please add a storage point using the 'vos_storage' command.\n") print("Choose one of the following storage locations:") print() print(tabulate(storageList, headers = "keys", tablefmt = "pretty")) print() print("\n" + tabulate(storageList, headers = "keys", tablefmt = "pretty") + "\n") storageIdList = [] for st in storageList: storageIdList.append(st["storage_id"]) Loading client/vos_job +1 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,7 @@ DESCRIPTION info prints a JSON object containing the job info according to the UWS specification. A job ID is required as argument. A job ID is required as argument search performs a search on jobs and returns those having a match between the search string Loading client/vos_storage +4 −7 Original line number Diff line number Diff line Loading @@ -87,9 +87,8 @@ class VOSStorage(RedisRPCClient): storageList = storageResponse["storageList"] if not storageList: sys.exit("No storage point found. Please add at least one storage point.\n") print("\nSelect the storage location to remove:\n") print(tabulate(storageList, headers = "keys", tablefmt = "pretty")) print() print("\nSelect the storage location to remove:") print("\n" + tabulate(storageList, headers = "keys", tablefmt = "pretty") "\n") storageIdList = [] for st in storageList: storageIdList.append(st["storage_id"]) Loading @@ -104,14 +103,12 @@ class VOSStorage(RedisRPCClient): print("\nPlease, use CTRL+C to quit.") except KeyboardInterrupt: sys.exit("\nCTRL+C detected. Exiting...") print() print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!") print("\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!") print("! This operation will remove the selected storage location only !") print("! from the database. !") print("! The mount point on the transfer node will not be removed, you !") print("! must do it manually. !") print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!") print() print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n") confirm = None while not confirm in ( "yes", "no" ): try: Loading Loading
client/vos_data +1 −3 Original line number Diff line number Diff line Loading @@ -76,9 +76,7 @@ EXAMPLES if not storageList: sys.exit("No storage point found. Please add a storage point using the 'vos_storage' command.\n") print("Choose one of the following storage locations:") print() print(tabulate(storageList, headers = "keys", tablefmt = "pretty")) print() print("\n" + tabulate(storageList, headers = "keys", tablefmt = "pretty") + "\n") storageIdList = [] for st in storageList: storageIdList.append(st["storage_id"]) Loading
client/vos_job +1 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,7 @@ DESCRIPTION info prints a JSON object containing the job info according to the UWS specification. A job ID is required as argument. A job ID is required as argument search performs a search on jobs and returns those having a match between the search string Loading
client/vos_storage +4 −7 Original line number Diff line number Diff line Loading @@ -87,9 +87,8 @@ class VOSStorage(RedisRPCClient): storageList = storageResponse["storageList"] if not storageList: sys.exit("No storage point found. Please add at least one storage point.\n") print("\nSelect the storage location to remove:\n") print(tabulate(storageList, headers = "keys", tablefmt = "pretty")) print() print("\nSelect the storage location to remove:") print("\n" + tabulate(storageList, headers = "keys", tablefmt = "pretty") "\n") storageIdList = [] for st in storageList: storageIdList.append(st["storage_id"]) Loading @@ -104,14 +103,12 @@ class VOSStorage(RedisRPCClient): print("\nPlease, use CTRL+C to quit.") except KeyboardInterrupt: sys.exit("\nCTRL+C detected. Exiting...") print() print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!") print("\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!") print("! This operation will remove the selected storage location only !") print("! from the database. !") print("! The mount point on the transfer node will not be removed, you !") print("! must do it manually. !") print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!") print() print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n") confirm = None while not confirm in ( "yes", "no" ): try: Loading