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

error in running --rerender option #125

Closed
ghost opened this issue Jan 16, 2019 · 5 comments
Closed

error in running --rerender option #125

ghost opened this issue Jan 16, 2019 · 5 comments
Assignees
Labels
bug something isn't working how it should interface issues related to how the user tells pyani to do something Marked for closure Ready to close VERSION_2 issues relating to version 0.2.x of pyani
Milestone

Comments

@ghost
Copy link

ghost commented Jan 16, 2019

Error in --rerender

When I use the command:

screen average_nucleotide_identity.py -v -i all_fna_files_renamed/ -o pyani_out -s 500 -l pyani.log -g --gformat png,pdf,eps,svg --write_excel -m ANIb --rerender

The following error appears:

Traceback (most recent call last):
  File "/home/naiane/anaconda3/bin/average_nucleotide_identity.py", line 814, in <module>
    draw(methods[args.method][1], gfmt)
  File "/home/naiane/anaconda3/bin/average_nucleotide_identity.py", line 637, in draw
    params = pyani_graphics.Params(params_mpl(df)[filestem],
  File "/home/naiane/anaconda3/lib/python3.6/site-packages/pyani/pyani_config.py", line 109, in params_mpl
    return {'ANIb_alignment_lengths': ('afmhot', df.values.min(),
  File "/home/naiane/anaconda3/lib/python3.6/site-packages/numpy/core/_methods.py", line 32, in _amin
    return umr_minimum(a, axis, None, out, keepdims, initial)
TypeError: '<=' not supported between instances of 'float' and 'str'

Do you know how to solve it?

Thanks.

@widdowquinn
Copy link
Owner

Hi,

I'll take a look, but would you be able please to attach a minimal dataset replicating this error message?

Cheers,

L.

@widdowquinn widdowquinn self-assigned this Jan 16, 2019
@widdowquinn widdowquinn added the bug something isn't working how it should label Jan 16, 2019
@ghost
Copy link
Author

ghost commented Jan 16, 2019

.tab file example
ANIb_percentage_identity.zip

@widdowquinn widdowquinn added the interface issues related to how the user tells pyani to do something label May 29, 2020
@Anenovaes
Copy link

Anenovaes commented Jun 29, 2020

Hi,
I was running the pyANI (ANIb) normally, but now I'm having the same problem. How can I solve this?

Thanks.

@baileythegreen
Copy link
Contributor

baileythegreen commented May 11, 2022

@widdowquinn The zip file provided above only contains an ANIb_percentage_identity.tab file, which is insufficient to run the command provided.

The error suggests the source is a formatting issue in ANIb_alignment_lengths.tab, where something is being incorrectly treated as a string, however, I am currently unable to reproduce the issue.

@ghost, @Anenovaes I realise you may have moved on, and apologise for the delay. If either of you still have a fileset which produces this issue, could you please provide the full set of output files? Thanks.

If the status of this issue does not change, I would recommend closure.

@baileythegreen baileythegreen added the VERSION_2 issues relating to version 0.2.x of pyani label May 11, 2022
@baileythegreen baileythegreen added this to the 0.2.12 milestone May 11, 2022
@widdowquinn
Copy link
Owner

If the status of this issue does not change, I would recommend closure.

I agree. If we cannot reproduce, we should mark it with the appropriate label and close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working how it should interface issues related to how the user tells pyani to do something Marked for closure Ready to close VERSION_2 issues relating to version 0.2.x of pyani
Projects
None yet
Development

No branches or pull requests

3 participants