diff --git a/concho/config.py b/concho/config.py index 440bf54..78cf33a 100644 --- a/concho/config.py +++ b/concho/config.py @@ -36,7 +36,7 @@ class Cpu(Item): def __init__(self, proc_id): super().__init__(proc_id) - cpuTable = numpy.genfromtxt('cpu_table.dat', dtype=("|U32", float, int, float, float, float), names=True, delimiter='\t') + cpuTable = numpy.genfromtxt('cpu_table.tsv', dtype=("|U32", float, int, float, float, float), names=True, delimiter='\t') for cpu_id, clock, num_cores, tdp, cpumark in zip(cpuTable['id'], cpuTable['clock'], cpuTable['num_cores'], cpuTable['tdp'], cpuTable['cpumark_1_cpu']): # print(cpu_id) if cpu_id == proc_id: diff --git a/concho/procs_chooser.py b/concho/procs_chooser.py index b7d3658..9e70a39 100644 --- a/concho/procs_chooser.py +++ b/concho/procs_chooser.py @@ -25,7 +25,7 @@ def get_marker(proc_id): return markerTypes[ hash % len(markerTypes) ] def plotCpuPassmark(): - cpuTable = numpy.genfromtxt('cpu_table.dat', dtype=("|U10", float, int, float, float), names=True, delimiter='\t') + cpuTable = numpy.genfromtxt('cpu_table.tsv', dtype=("|U10", float, int, float, float), names=True, delimiter='\t') plt.subplot(1,1,0) plt.subplots_adjust(bottom = 0.1) markersCycler = itertools.cycle(itertools.product(markerTypes, markerColors)) diff --git a/cpu_table.dat b/cpu_table.tsv similarity index 100% rename from cpu_table.dat rename to cpu_table.tsv