aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/metadata.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-06-08 14:43:08 +0300
committerBonfaceKilz2023-06-12 15:35:40 +0300
commite4489c48bf5d1c9cb72b8cc1eccc603f1178ecbf (patch)
treec885a24d50a8639278d901a849096597ecd2180b /gn3/api/metadata.py
parent96bb0d6f2eb76de8481e0ff1c2afd08ccf7e64fa (diff)
downloadgenenetwork3-e4489c48bf5d1c9cb72b8cc1eccc603f1178ecbf.tar.gz
Correct publication function docstring
* gn3/api/metadata.py (publication): Update docstring. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api/metadata.py')
-rw-r--r--gn3/api/metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index 1330b6f..49c6798 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -34,7 +34,7 @@ def dataset(name):
@metadata.route("/publication/<name>", methods=["GET"])
def publication(name):
- """Fetch a dataset's metadata given it's ACCESSION_ID"""
+ """Fetch a publication's metadata given it's ACCESSION_ID"""
try:
if "unpublished" in name:
name = f"gn:{name}"