Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
O
OBITools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • OBITools
  • OBITools
  • Issues
  • #20

Closed
Open
Opened Jan 07, 2016 by Eric Coissac@coissacOwner

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
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: obitools/obitools#20