diff --git a/nifi/user-scripts/cogstack_cohort_generate_data.py b/nifi/user-scripts/cogstack_cohort_generate_data.py index 1c020cab..516d268c 100644 --- a/nifi/user-scripts/cogstack_cohort_generate_data.py +++ b/nifi/user-scripts/cogstack_cohort_generate_data.py @@ -67,7 +67,7 @@ if _arg[0] == "document_id_field_name": DOCUMENT_ID_FIELD_NAME = _arg[1] if _arg[0] == "cpu_threads": - CPU_THREADS = _arg[1] + CPU_THREADS = int(_arg[1]) if _arg[0] == "timeout": TIMEOUT = _arg[1] if _arg[0] == "output_folder_path":