From 09ea065f0224831e70ca2eb3322d80b6e0729fdf Mon Sep 17 00:00:00 2001 From: Magnus Lindholm Date: Wed, 15 Nov 2023 10:04:28 +0100 Subject: [PATCH] added the file extension to the ExtractAction model, since this data i used by renamer and it is for most files also data that we ahve in the fileformats.yml --- acacore/models/reference_files.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acacore/models/reference_files.py b/acacore/models/reference_files.py index 63f228e..f4906c7 100644 --- a/acacore/models/reference_files.py +++ b/acacore/models/reference_files.py @@ -39,10 +39,12 @@ class ExtractAction(BaseModel): Attributes: tool (str): The name of the tool used for extraction. + file_extension (Optional[str]): The suffix that the file should have. Defaults to None. dir_suffix (str): The output directory where the extracted data will be saved. """ tool: str + file_extension: Optional[str] dir_suffix: str