Пример #1
0
 def test_has_valid_soma_bad_data(self):
     dw = self.load_data(os.path.join(SWC_PATH, 'Single_apical_no_soma.swc'))
     nt.ok_(not chk.has_valid_soma(dw))
Пример #2
0
 def test_has_valid_soma_good_data(self):
     dw = self.load_data(os.path.join(SWC_PATH, 'Neuron.swc'))
     nt.ok_(chk.has_valid_soma(dw))
     dw = self.load_data(os.path.join(H5V1_PATH, 'Neuron.h5'))
     nt.ok_(chk.has_valid_soma(dw))
Пример #3
0
 def time_has_valid_soma(self):
     sc.has_valid_soma(self.data_wrapper)
Пример #4
0
 def time_has_valid_soma(self):
     sc.has_valid_soma(self.data_wrapper)
Пример #5
0
 def test_has_valid_soma_bad_data(self):
     dw = self.load_data(Path(SWC_PATH, 'Single_apical_no_soma.swc'))
     nt.ok_(not chk.has_valid_soma(dw))
Пример #6
0
 def test_has_valid_soma_good_data(self):
     dw = self.load_data(Path(SWC_PATH, 'Neuron.swc'))
     nt.ok_(chk.has_valid_soma(dw))
     dw = self.load_data(Path(H5V1_PATH, 'Neuron.h5'))
     nt.ok_(chk.has_valid_soma(dw))