예제 #1
0
 def setup(self):
     self.data = swc.read(
         os.path.join(SWC_PATH, 'sequential_trunk_off_42_16pt.swc'))
     self.first_id = int(self.data.data_block[0][COLS.ID])
예제 #2
0
def test_read_swc_basic():
    rdw = swc.read(
        os.path.join(SWC_PATH,
                     'random_trunk_off_0_16pt.swc'))

    check_single_section_random_swc(rdw.data_block, rdw.fmt)