Skip to content
Snippets Groups Projects
Commit b3422861 authored by Constantin Pape's avatar Constantin Pape
Browse files

Merge branch 'fix-cilia-tables' into 'master'

Fix cilia tables

See merge request !5
parents cb171105 dd0ca093
No related branches found
No related tags found
1 merge request!5Fix cilia tables
import pandas as pd
def_path = '../data/0.5.1/tables/sbem-6dpf-1-whole-segmented-cilia-labels/default.csv'
t1 = pd.read_csv(def_path, sep='\t')
t2 = pd.read_csv('../data/0.5.1/tables/sbem-6dpf-1-whole-segmented-cilia-labels/cilia.csv', sep='\t')
l1 = t1[['label_id']].values
l2 = t2[['label_id']].values
assert (l1 == l2).all()
t = pd.concat([t1, t2['cell_id']], axis=1)
t.to_csv(def_path, index=False, sep='\t')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment