Пример #1
0
    def _create_flow_scores_csv(self):

        flow_scores_csv = "{0}/flow_scores.csv".format(self._data_path)
        Util.create_csv_file(flow_scores_csv,self._flow_scores)

        # create bk file
        flow_scores_bu_csv = "{0}/flow_scores_bu.csv".format(self._data_path)
        Util.create_csv_file(flow_scores_bu_csv,self._flow_scores)  
Пример #2
0
    def _create_flow_scores_csv(self):

        flow_scores_csv = "{0}/flow_scores.csv".format(self._data_path)
        Util.create_csv_file(flow_scores_csv, self._flow_scores)

        # create bk file
        flow_scores_bu_csv = "{0}/flow_scores_bu.csv".format(self._data_path)
        Util.create_csv_file(flow_scores_bu_csv, self._flow_scores)
Пример #3
0
    def _create_proxy_scores_csv(self):

        proxy_scores_csv = "{0}/proxy_scores.tsv".format(self._data_path)
        proxy_scores_final = self._proxy_scores[:];
        proxy_scores_final.insert(0,self._proxy_scores_headers)
        Util.create_csv_file(proxy_scores_csv,proxy_scores_final, self._results_delimiter)

        # create bk file
        proxy_scores_bu_csv = "{0}/proxy_scores_bu.tsv".format(self._data_path)
        Util.create_csv_file(proxy_scores_bu_csv,proxy_scores_final, self._results_delimiter)
Пример #4
0
    def _create_dns_scores_csv(self):

        dns_scores_csv = "{0}/dns_scores.csv".format(self._data_path)
        dns_scores_final = self._move_time_stamp(self._dns_scores)
        dns_scores_final.insert(0, self._dns_scores_headers)
        Util.create_csv_file(dns_scores_csv, dns_scores_final)

        # create bk file
        dns_scores_bu_csv = "{0}/dns_scores_bu.csv".format(self._data_path)
        Util.create_csv_file(dns_scores_bu_csv, dns_scores_final)
Пример #5
0
    def _create_proxy_scores_csv(self):

        proxy_scores_csv = "{0}/proxy_scores.csv".format(self._data_path)
        proxy_scores_final = self._proxy_scores[:]
        proxy_scores_final.insert(0, self._proxy_scores_headers)
        Util.create_csv_file(proxy_scores_csv, proxy_scores_final)

        # create bk file
        proxy_scores_bu_csv = "{0}/proxy_scores_bu.csv".format(self._data_path)
        Util.create_csv_file(proxy_scores_bu_csv, proxy_scores_final)
Пример #6
0
    def _create_dns_scores_csv(self):
        
        dns_scores_csv = "{0}/dns_scores.csv".format(self._data_path)
        dns_scores_final =  self._move_time_stamp(self._dns_scores)
        dns_scores_final.insert(0,self._dns_scores_headers)
        Util.create_csv_file(dns_scores_csv,dns_scores_final)   

        # create bk file
        dns_scores_bu_csv = "{0}/dns_scores_bu.csv".format(self._data_path)
        Util.create_csv_file(dns_scores_bu_csv,dns_scores_final)