aboutsummaryrefslogtreecommitdiff
path: root/gn3/correlation/correlation_utility.py
blob: 7583bd78614dbb8d89c0d6d3703c86c16dc2df75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""module contains utility functions for correlation"""


class AttributeSetter:
    """class for setting Attributes"""

    def __init__(self, trait_obj):
        for key, value in trait_obj.items():
            setattr(self, key, value)

    def __str__(self):
        return self.__class__.__name__

    def get_dict(self):
        """dummy function  to get dict object"""
        return self.__dict__


def get_genofile_samplelist(dataset):
    """mock function to get genofile samplelist"""

    return ["C57BL/6J"]