From edbbfc08442ec43e3a817a43542c8d6e9fe3b5aa Mon Sep 17 00:00:00 2001 From: verena <9377970+vpchung@users.noreply.github.com> Date: Thu, 3 Aug 2023 01:07:21 -0700 Subject: [PATCH] update command in docs and error message --- cli/medperf/comms/entity_resources/sources/synapse.py | 2 +- docs/concepts/hosting_files.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/medperf/comms/entity_resources/sources/synapse.py b/cli/medperf/comms/entity_resources/sources/synapse.py index fe283b79d..0540c9a41 100644 --- a/cli/medperf/comms/entity_resources/sources/synapse.py +++ b/cli/medperf/comms/entity_resources/sources/synapse.py @@ -46,7 +46,7 @@ def authenticate(self): except SynapseNoCredentialsError: msg = "There was an attempt to download resources from the Synapse " msg += "platform, but couldn't find Synapse credentials." - msg += "\nDid you run 'medperf synapse_login' before?" + msg += "\nDid you run 'medperf auth synapse_login' before?" raise CommunicationAuthenticationError(msg) def download(self, resource_identifier: str, output_path: str): diff --git a/docs/concepts/hosting_files.md b/docs/concepts/hosting_files.md index 799946809..564bac892 100644 --- a/docs/concepts/hosting_files.md +++ b/docs/concepts/hosting_files.md @@ -48,7 +48,7 @@ When your file is hosted on Synapse, MedPerf will be able to identify this file --mlcube-file synapse: ``` -Note that you need to authenticate with your Synapse credentials if you plan to use a Synaspe file with MedPerf. To do so run `medperf synapse_login`. +Note that you need to authenticate with your Synapse credentials if you plan to use a Synaspe file with MedPerf. To do so run `medperf auth synapse_login`. !!! note You **must** authenticate if using files on Synapse. If this is not necessary, this means the file has anonymous public access read permission. In this case, Synapse allows you to generate a permanent direct download link for your file and you can follow the [previous section](#file-hosting).