From 7716713a4ae5b50ba48bdd4884bce2b9db2b2d13 Mon Sep 17 00:00:00 2001 From: Garrett Michael Flynn Date: Mon, 19 Feb 2024 08:03:09 -0600 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> --- pyflask/manageNeuroconv/manage_neuroconv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyflask/manageNeuroconv/manage_neuroconv.py b/pyflask/manageNeuroconv/manage_neuroconv.py index 294feac31..9dcca633b 100644 --- a/pyflask/manageNeuroconv/manage_neuroconv.py +++ b/pyflask/manageNeuroconv/manage_neuroconv.py @@ -128,7 +128,7 @@ def autocomplete_format_string(info: dict) -> str: filesystem_entry_path = info["path"] if not is_path_contained(filesystem_entry_path, base_directory): - raise "Path is not contained in the provided base directory." + raise ValueError("Path is not contained in the provided base directory.") full_format_string = construct_path_template( filesystem_entry_path,