from GAFER import ClusterData
import os
import inspect

#main_dir = os.getcwd()
main_dir = os.path.dirname(inspect.getfile(ClusterData))
data_dir = os.path.join(main_dir,'tests','test_data_files')

clustering_file_location = os.path.join(data_dir,'diurnal_clustering_300916.json')

cData = ClusterData.from_json(clustering_file_location)

cData.get_cluster_label('AT3G51240')
cData.get_cluster_label('AT1G09570')
""">>> clusters.get_cluster_label('AT3G51240')
85
>>> clusters.get_cluster_label('AT1G09570')
6
"""
from GAFER import ClusterData
import os
import inspect

#main_dir = os.getcwd()
main_dir = os.path.dirname(inspect.getfile(ClusterData))
data_dir = os.path.join(main_dir,'tests','test_data_files')

clustering_file_location = os.path.join(data_dir,'diurnal_clustering_300916.json')

cData = ClusterData.from_json(clustering_file_location)

cData.get_cluster_label('AT3G51240')
cData.get_cluster_label('AT1G09570')
""">>> clusters.get_cluster_label('AT3G51240')
85
>>> clusters.get_cluster_label('AT1G09570')
6
"""
#main_dir = os.getcwd() >>> clusters.get_cluster_label('AT3G51240') 85 >>> clusters.get_cluster_label('AT1G09570') 6