You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get 27 of these errors during compilation. Do you know the reason for it? Should I update some parameters with the last versions of rust?
Thanks.
error[E0308]: mismatched types
--> /home/pio/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24
|
62 | let bytes = bits / Limb::BITS;
| ^^^^^^^^^^ expected usize, found u32
error[E0277]: cannot divide usize by u32
--> /home/pio/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:22
|
62 | let bytes = bits / Limb::BITS;
| ^ no implementation for usize / u32
|
= help: the trait Div<u32> is not implemented for usize
The text was updated successfully, but these errors were encountered:
yes, these errors are due to the dependencies being outdated (the last update to this project was ~ 1.5 years ago).
I've updated the libraries with cargo update, and now it appears to compile correctly. I've also pushed these changes, so you can just pull to get the latest version with the updated dependencies.
Hello,
Thanks for the update.
I updated it but now I get these error with different GFAs. It is always this same error.
gfa_to_vcf -i component.0.gfa -o allX.vcf -p CM0120270.1
thread 'main' panicked at 'no entry found for key', src/variant_identification.rs:75:34
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Hi again,
if possible could you please share the gaf you are using? If gaf is big (and has a complex structure) you are probably better off with vg deconstruct, as my tool is only guaranteed to work correctly on simpler gafs. I'd like to improve it in the future, but as of now I'm working on other projects.
Hello,
I get 27 of these errors during compilation. Do you know the reason for it? Should I update some parameters with the last versions of rust?
Thanks.
error[E0308]: mismatched types
--> /home/pio/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24
|
62 | let bytes = bits / Limb::BITS;
| ^^^^^^^^^^ expected
usize
, foundu32
error[E0277]: cannot divide
usize
byu32
--> /home/pio/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:22
|
62 | let bytes = bits / Limb::BITS;
| ^ no implementation for
usize / u32
|
= help: the trait
Div<u32>
is not implemented forusize
The text was updated successfully, but these errors were encountered: