tolkit / fasta_windows

A Rust implementation of sliding window stats over fastas.
MIT License
12 stars 2 forks source link

Compilation issue #10

Closed dpryan79 closed 2 years ago

dpryan79 commented 2 years ago

While rebuilding fasta_windows on Bioconda I ran into the following compilation error:

error[E0599]: no method named `progress_chars` found for enum `Result` in the current scope
  --> src/fw.rs:50:10
   |
50 |         .progress_chars(">>-");
   |          ^^^^^^^^^^^^^^ method not found in `Result<ProgressStyle, TemplateError>`
Euphrasiologist commented 2 years ago

That's interesting; thank you for raising the issue!

What platform/machine are you running on? And which version of fasta_windows?

Euphrasiologist commented 2 years ago

Actually, just had a quick google. Does this help?

You need to use the --locked flag as in cargo install --locked xwin, cargo has a longstanding bug where the lockfile is completely ignored without that flag. I've updated the README because I always forget about this until someone files a bug. Sorry for the inconvenience.

This might help, although a screenshot of the error would be helpful too :)

dpryan79 commented 2 years ago

That solved the problem, thanks!