From 8fb38931e40f0425ba66b0aa4f71eedcecd40f8e Mon Sep 17 00:00:00 2001
From: Tim O'Donnell <timodonnell@gmail.com>
Date: Thu, 12 Sep 2019 10:29:40 -0400
Subject: [PATCH] update downloads command

---
 mhcflurry/downloads_command.py | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/mhcflurry/downloads_command.py b/mhcflurry/downloads_command.py
index f598043d..321c32b4 100644
--- a/mhcflurry/downloads_command.py
+++ b/mhcflurry/downloads_command.py
@@ -7,10 +7,13 @@ Fetch the default downloads:
     $ mhcflurry-downloads fetch
 
 Fetch a specific download:
-    $ mhcflurry-downloads fetch data_kim2014
+    $ mhcflurry-downloads fetch models_class1_pan
 
 Get the path to a download:
-    $ mhcflurry-downloads path data_kim2014
+    $ mhcflurry-downloads path models_class1_pan
+
+Get the URL of a download:
+    $ mhcflurry-downloads url models_class1_pan
 
 Summarize available and fetched downloads:
     $ mhcflurry-downloads info
@@ -314,10 +317,16 @@ def info_subcommand(args):
 
 
 def path_subcommand(args):
+    """
+    Print the local path to a download
+    """
     print(get_path(args.download_name))
 
 
 def url_subcommand(args):
+    """
+    Print the URL(s) for a download
+    """
     downloads = get_current_release_downloads()
     download = downloads[args.download_name]["metadata"]
     urls = []
-- 
GitLab