Exemplo n.º 1
0
 def test_write_empty_multidataset(self, tmp_path):
     writers.write_empty_dataset(
         tmp_path,
         self.circuit_list,
         header_string=
         '## Columns = ds1 0 count, ds1 1 count, ds2 0 count, ds2 1 count')
Exemplo n.º 2
0
 def test_write_empty_dataset_raises_on_need_header(self, tmp_path):
     with self.assertRaises(ValueError):
         writers.write_empty_dataset(tmp_path,
                                     self.circuit_list,
                                     header_string="# Nothing ")
Exemplo n.º 3
0
 def test_write_empty_dataset(self, tmp_path):
     writers.write_empty_dataset(tmp_path,
                                 self.circuit_list,
                                 num_zero_cols=2,
                                 append_weights_column=False)
Exemplo n.º 4
0
 def test_write_empty_dataset_raises_on_bad_type(self, tmp_path):
     with self.assertRaises(ValueError):
         writers.write_empty_dataset(tmp_path, [('Gx', )], num_zero_cols=2)
Exemplo n.º 5
0
 def test_write_empty_dataset(self, tmp_path):
     writers.write_empty_dataset(tmp_path,
                                 self.circuit_list,
                                 numZeroCols=2,
                                 appendWeightsColumn=False)