database/data_access_models.py
def normalize_s3_file_path(file_path: str, study_object_id: str):
        """ whatever the reason for this file path transform is has been lost to the mists of time.
            We force the start of the path to the object id string of the study. """
        if file_path[:24] == study_object_id:
            return file_path
        else:
            return study_object_id + '/' + file_path
 whatever the reason for this file path transform is has been lost to the mists of time.
            We force the start of the path to the object id string of the study. 
whatever the reason for this file path transform is has been lost to the mists of time.
We force the start of the path to the object id string of the study.
whatever the reason for this file path transform is has been lost to the mists of time . We force the start of the path to the object id string of the study .
def normalize_s3_file_path(file_path: str, study_object_id: str):
        if file_path[:24] == study_object_id:
            return file_path
        else:
            return study_object_id + '/' + file_path
def normalize_s3_file_path ( file_path : str , study_object_id : str ) : if file_path [ : 24 ] == study_object_id : return file_path else : return study_object_id + '/' + file_path
whatever the reason for this file path transform is has been lost to the mists of time.
whatever the reason for this file path transform is has been lost to the mists of time .
""" whatever the reason for this file path transform is has been lost to the mists of time.
            We force the start of the path to the object id string of the study. """
file_path
str
study_object_id
str