MCPcopy Index your code
hub / github.com/FinancialComputingUCL/LOBFrame / create_tree

Function create_tree

utils.py:658–670  ·  view source on GitHub ↗

Create folders recursively. Args: path (str): Tree of folders to be created. Returns: None.

(path: str)

Source from the content-addressed store, hash-verified

656
657
658def create_tree(path: str) -> None:
659 """
660 Create folders recursively.
661 Args:
662 path (str): Tree of folders to be created.
663
664 Returns:
665 None.
666 """
667 # Recursively create a tree of folders. If the path already exists, delete it and create a new one.
668 if os.path.exists(path):
669 shutil.rmtree(path)
670 os.makedirs(path)
671
672
673def get_training_test_stocks_as_string(general_hyperparameters):

Callers 1

__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected