nbgwas_rest/__init__.py
def log_task_json_file(taskpath):
    """
    Writes information about task to logger
    :param taskpath: path to task
    :return: None
    """
    if taskpath is None:
        return None

    tmp_task_json = TASK_JSON
    taskfilename = os.path.join(taskpath, tmp_task_json)

    if not os.path.isfile(taskfilename):
        return None

    with open(taskfilename, 'r') as f:
        data = json.load(f)
        app.logger.info('Json file of task: ' + str(data))

    Writes information about task to logger
    :param taskpath: path to task
    :return: None
    
Writes information about task to logger
Writes information about task to logger
def log_task_json_file(taskpath):
    if taskpath is None:
        return None
    tmp_task_json = TASK_JSON
    taskfilename = os.path.join(taskpath, tmp_task_json)
    if not os.path.isfile(taskfilename):
        return None
    with open(taskfilename, 'r') as f:
        data = json.load(f)
        app.logger.info('Json file of task: ' + str(data))
def log_task_json_file ( taskpath ) : if taskpath is None : return None tmp_task_json = TASK_JSON taskfilename = os . path . join ( taskpath , tmp_task_json ) if not os . path . isfile ( taskfilename ) : return None with open ( taskfilename , 'r' ) as f : data = json . load ( f ) app . logger . info ( 'Json file of task: ' + str ( data ) )
Writes information about task to logger
Writes information about task to logger
"""
    Writes information about task to logger
    :param taskpath: path to task
    :return: None
    """
None
taskpath
path to task
path to task