Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output-tsv fails #95

Open
chasemc opened this issue Feb 7, 2025 · 3 comments
Open

output-tsv fails #95

chasemc opened this issue Feb 7, 2025 · 3 comments

Comments

@chasemc
Copy link

chasemc commented Feb 7, 2025

--output-tsv results in:

Traceback (most recent call last):
  File "/home/chase/micromamba/envs/myenv/bin/bigslice", line 1950, in <module>
    return_code = main()
  File "/home/chase/micromamba/envs/myenv/bin/bigslice", line 1072, in main
    return export_tsv_to_folder(output_folder, args.export_tsv)
  File "/home/chase/micromamba/envs/myenv/lib/python3.9/site-packages/bigslice/modules/output/csv/__init__.py", line 130, in export_tsv_to_folder
    export_bgc_metadata(result_folder, path_tsv, sep="\t")
  File "/home/chase/micromamba/envs/myenv/lib/python3.9/site-packages/bigslice/modules/output/csv/__init__.py", line 76, in export_bgc_metadata
    bgc_metadata["taxon-" + taxon_title] = taxa_names.values
AttributeError: 'tuple' object has no attribute 'values'

Also, that required installing an old version of pyhmmer, the new versions break bigslice v2 #93 (comment)

@chasemc
Copy link
Author

chasemc commented Feb 7, 2025

*using the example data

@123xiaochen
Copy link

Hello, have you solved this problem? I also found the same error.

@chasemc
Copy link
Author

chasemc commented Feb 27, 2025

I will try to make a pull request in the next couple weeks. But if you get the v2 running then for some reason running it twice worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants