biocore / biom-format

The Biological Observation Matrix (BIOM) Format Project
http://biom-format.org
Other
90 stars 95 forks source link

convert fails when taxonomy is requested but not present #542

Closed antgonza closed 7 years ago

antgonza commented 10 years ago
Traceback (most recent call last):
  File "/Users/antoniog/svn_programs/pyqi/scripts/pyqi", line 186, in <module>
    optparse_main(cmd_obj, argv[1:])
  File "/Users/antoniog/svn_programs/pyqi/pyqi/core/interfaces/optparse/__init__.py",
line 276, in optparse_main
    result = optparse_cmd(local_argv[1:])
  File "/Users/antoniog/svn_programs/pyqi/pyqi/core/interface.py",
line 40, in __call__
    cmd_result = self.CmdInstance(**cmd_input)
  File "/Users/antoniog/svn_programs/pyqi/pyqi/core/command.py", line
137, in __call__
    result = self.run(**kwargs)
  File "/Users/antoniog/svn_programs/biom-format/biom/commands/table_converter.py",
line 198, in run
    metadata_formatter=obs_md_fmt_f)
  File "/Users/antoniog/svn_programs/biom-format/biom/table.py", line
3911, in to_tsv
    observation_column_name)
  File "/Users/antoniog/svn_programs/biom-format/biom/table.py", line
1202, in delimited_self
    md_out = metadata_formatter(md.get(header_key, None))
  File "/Users/antoniog/svn_programs/biom-format/biom/commands/table_converter.py",
line 44, in <lambda>
    'sc_separated': lambda x: '; '.join(x),
TypeError
wasade commented 7 years ago

@antgonza, do you know if this is still an issue? It's from the pyqi days. Please reopen if it is still a problem.