Commit 3c417809 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

update Pipeline

parent e9a8847b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -11,9 +11,9 @@ Modified-History:
    2023-12-15, Bo Zhang, add module header
"""
import json
import subprocess
import os
import shutil
import subprocess
import traceback
import warnings
from typing import Callable, NamedTuple, Optional, Any
@@ -70,6 +70,7 @@ class Pipeline:
        filter_warnings: bool = False,
        dfs: bool = True,
        ccds: bool = False,
        clean_output_before_run: bool = True,
        **kwargs: Any,
    ):
        # get pipeline information from env vars
@@ -85,6 +86,9 @@ class Pipeline:
        self.ccds_root = ccds_root
        self.ccds_cache = ccds_cache

        if clean_output_before_run:
            self.clean_output()

        # additional parameters
        self.kwargs = kwargs