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])
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)