def fetch_subject_files(subjectID):
    '\n        subjectID : short subject ID for which list of available files are fetched\n\n    returns:\n\n        onlyfiles : list of absolute paths for available subject files\n    '
    subject_IDs = get_ids(short=True)
    subject_IDs = subject_IDs.tolist()
    full_IDs = get_ids(short=False)
    try:
        idx = subject_IDs.index(subjectID)
        subject_folder = os.path.join(root_folder, subjectID)
        onlyfiles = [os.path.join(subject_folder, f) for f in os.listdir(subject_folder) if os.path.isfile(os.path.join(subject_folder, f))]
    except ValueError:
        onlyfiles = []
    return onlyfiles
subjectID : short subject ID for which list of available files are fetched

returns:

    onlyfiles : list of absolute paths for available subject files
def fetch_subject_files(subjectID):
    '\n        subjectID : short subject ID for which list of available files are fetched\n\n    returns:\n\n        onlyfiles : list of absolute paths for available subject files\n    '
    subject_IDs = get_ids(short=True)
    subject_IDs = subject_IDs.tolist()
    full_IDs = get_ids(short=False)
    try:
        idx = subject_IDs.index(subjectID)
        subject_folder = os.path.join(root_folder, subjectID)
        onlyfiles = [os.path.join(subject_folder, f) for f in os.listdir(subject_folder) if os.path.isfile(os.path.join(subject_folder, f))]
    except ValueError:
        onlyfiles = []
    return onlyfiles