From a57b92fbfa89a56daab8a6087f350312a81a5d1f Mon Sep 17 00:00:00 2001 From: Graeme Watt Date: Sat, 14 Oct 2023 03:22:42 +0100 Subject: [PATCH] hepdata_lib: add type of new "file_type" argument --- hepdata_lib/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hepdata_lib/__init__.py b/hepdata_lib/__init__.py index 3862e98c..7897b7c8 100644 --- a/hepdata_lib/__init__.py +++ b/hepdata_lib/__init__.py @@ -70,7 +70,7 @@ def add_additional_resource(self, description, location, copy_file=False, file_t submission object is called. :param description: Description of what the resource is. - :type description: string. + :type description: string :param location: Can be either a URL pointing to a web-based resource or a local file path. :type location: string @@ -79,6 +79,7 @@ def add_additional_resource(self, description, location, copy_file=False, file_t :type copy_file: bool :param file_type: Type of the resource file. Currently, only "HistFactory" has any effect. + :type file_type: string """ resource = {}