Supin bug in obitaxonomy
A stupid bug lives in obitoxonomy
hampering the add of a favorite name to the taxonomy through the -f
option
obitaxonomy -d new_taxo_dec2015 -f 'Pyropia collinsii':1064567
But instead of creating a new file, it gives the following errors, which I think are due to the non-existence of new_taxo_dec2015.pdx file:
Reading binary taxonomy database...
[INFO : Taxon alias file found]
[INFO : Local taxon file found] : 59 added taxa
Taxonomical tree read
[INFO : Preferred taxon name file not found]
ok
Traceback (most recent call last):
File "/usr/local/bin/obitaxonomy", line 5, in <module>
pkg_resources.run_script('OBITools==1.0.beta', 'obitaxonomy')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/OBITools-1.0.beta-py2.7-linux-x86_64.egg/EGG-INFO/scripts/obitaxonomy", line 356, in <module>
tx = t.split(t,':')
NameError: name 't' is not defined