Skip to content

Commit c4d5aa6

Browse files
committed
add simplisity python scripts for testing metadata transfer
1 parent fb15beb commit c4d5aa6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

python_scripts/read_tablesfile.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import tskit
2+
import sys
3+
4+
for f in sys.argv[1:]:
5+
tables = tskit.TableCollection.load(f)
6+
for pop in tables.populations:
7+
print(pop)

python_scripts/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tskit = "0.5.1"

0 commit comments

Comments
 (0)