dcjones/coitrees

example cannot run

jianshu93 opened this issue · 2 comments

Hello team,

cargo run --release --example bed-intersect -- test1.bed test2.bed > intersections.bed

error[E0599]: no method named about found for struct Arg in the current scope
--> examples/bed-intersect.rs:340:14
|
340 | .about("intervals to index")
| ^^^^^ method not found in Arg<'_>

error[E0599]: no method named about found for struct Arg in the current scope
--> examples/bed-intersect.rs:345:14
|
345 | .about("query intervals")
| ^^^^^ method not found in Arg<'_>

error[E0599]: no method named about found for struct Arg in the current scope
--> examples/bed-intersect.rs:352:14
|
352 | .about("use alternative search strategy that's faster if queries are sorted and tend to overlap"))
| ^^^^^ method not found in Arg<'_>

error[E0599]: no method named about found for struct Arg in the current scope
--> examples/bed-intersect.rs:356:14
|
356 | .about("load both interval sets into memory instead of streaming queries"))
| ^^^^^ method not found in Arg<'_>

error[E0599]: no method named about found for struct Arg in the current scope
--> examples/bed-intersect.rs:360:14
|
360 | .about("compute proportion of queries covered"))
| ^^^^^ method not found in Arg<'_>

For more information about this error, try rustc --explain E0599.
error: could not compile coitrees due to 5 previous errors

I have this error with the most recent rust v1.65

Thanks,

Jianshu

I have fixed the error. #6

Many thanks!

I can test then!

Jianshu