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

Running an example #123

Closed
nzarnaghi opened this issue Feb 17, 2020 · 5 comments
Closed

Running an example #123

nzarnaghi opened this issue Feb 17, 2020 · 5 comments

Comments

@nzarnaghi
Copy link

Hi,

I want to run the example provided below:

mmvec paired-omics
--microbe-file examples/cf/otus_nt.biom
--metabolite-file examples/cf/lcms_nt.biom
--summary-dir summary

But after running these commands, it shows the following error at the end:

TypeError: SparseDataFrame() takes no arguments

In addition, when I run tensorboard --logdir . , it shows the following error at the end:

ValueError: Duplicate plugins for name projector

Could you please guide me what might be the problem?

@mortonjt
Copy link
Collaborator

It looks like pandas 1.0 has made some breaking changes to biom. See here: biocore/biom-format#837

The solution for now is to run
conda install pandas<1.0

Just merged in a PR here: conda-forge/mmvec-feedstock#7
So a more permanent solution is in the works

@nzarnaghi
Copy link
Author

Hi

Thank you so much. I tried

conda install pandas<1.0

But now, it shows this error:

bash: 1.0: No such file or directory

@mortonjt
Copy link
Collaborator

Sorry, that was a typo - that should be conda install pandas=0.24

But the conda install should be working now, so feel free to retry the original install instructions.

@nzarnaghi
Copy link
Author

Thank you so much. It worked now.

@mortonjt
Copy link
Collaborator

great!

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