dax/dax_tools_utils.py
def check_folders():
    """
    Check that the default folders exist and if not create them

    :return: None
    """
    # make the directories if they don't exist:
    if not os.path.exists(RESULTS_DIR):
        os.mkdir(RESULTS_DIR)
    if not os.path.exists(os.path.join(RESULTS_DIR, _OUTLOG)):
        os.mkdir(os.path.join(RESULTS_DIR, _OUTLOG))
    if not os.path.exists(os.path.join(RESULTS_DIR, _TRASH)):
        os.mkdir(os.path.join(RESULTS_DIR, _TRASH))
    if not os.path.exists(os.path.join(RESULTS_DIR, _PBS)):
        os.mkdir(os.path.join(RESULTS_DIR, _PBS))
    if not os.path.exists(os.path.join(RESULTS_DIR, _FLAG_FILES)):
        os.mkdir(os.path.join(RESULTS_DIR, _FLAG_FILES))

    Check that the default folders exist and if not create them

    :return: None
    
Check that the default folders exist and if not create them
Check that the default folders exist and if not create them
def check_folders():
    if not os.path.exists(RESULTS_DIR):
        os.mkdir(RESULTS_DIR)
    if not os.path.exists(os.path.join(RESULTS_DIR, _OUTLOG)):
        os.mkdir(os.path.join(RESULTS_DIR, _OUTLOG))
    if not os.path.exists(os.path.join(RESULTS_DIR, _TRASH)):
        os.mkdir(os.path.join(RESULTS_DIR, _TRASH))
    if not os.path.exists(os.path.join(RESULTS_DIR, _PBS)):
        os.mkdir(os.path.join(RESULTS_DIR, _PBS))
    if not os.path.exists(os.path.join(RESULTS_DIR, _FLAG_FILES)):
        os.mkdir(os.path.join(RESULTS_DIR, _FLAG_FILES))
def check_folders ( ) : if not os . path . exists ( RESULTS_DIR ) : os . mkdir ( RESULTS_DIR ) if not os . path . exists ( os . path . join ( RESULTS_DIR , _OUTLOG ) ) : os . mkdir ( os . path . join ( RESULTS_DIR , _OUTLOG ) ) if not os . path . exists ( os . path . join ( RESULTS_DIR , _TRASH ) ) : os . mkdir ( os . path . join ( RESULTS_DIR , _TRASH ) ) if not os . path . exists ( os . path . join ( RESULTS_DIR , _PBS ) ) : os . mkdir ( os . path . join ( RESULTS_DIR , _PBS ) ) if not os . path . exists ( os . path . join ( RESULTS_DIR , _FLAG_FILES ) ) : os . mkdir ( os . path . join ( RESULTS_DIR , _FLAG_FILES ) )
Check that the default folders exist and if not create them
Check that the default folders exist and if not create them
"""
    Check that the default folders exist and if not create them

    :return: None
    """ # make the directories if they don't exist:
None