Open redavids opened 9 years ago
We want the function fileswap to take a list of files, because if you have two files with tree1 = ((a,b),(c,d)); in file 1 tree2 = ((a,b),(c,e)); in file2, then the taxon conversion dictionaries will be different.
Then we can write a script to convert whole folders on the command line.
jed, clone this respository and then type git checkout -b jed-edit to make you own branch. Then once the issue is resolved we can merge the branches.
makes a file feefifofumswap (this is specified by user) with integer taxon names as well as a file feefifofum.taxon_key which is function of input file name feefifofum that has dict showing the conversion
There are tests here let me know if you want other tests. Going to use this module to make a python script that does this on a whole folder at a time.