Closed apcamargo closed 3 years ago
Hey,
Can this be fixed by making the code use different symlink methods depending on platform?
e.g. with https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg-macro
i'll have a crack at this when i dont have a baby in hand.
Hey fixed this by conditional compilation. You'll have to adjust the Cargo.toml of coverm to use the bleeding edge galah I suppose.
I've never tested this stuff on windows - let me know if you come across problems. Thanks.
I think this was a better solution, thanks!
I still can't compile on Windows because CoverM depends on Galah 0.3.0, but I can wait for the next CoverM/Galah releases. I could build with a local fork of CoverM, but that's not something I'd like to do for now. There's no hurry to support Windows.
Hey Ben,
I know that CoverM isn't supposed to be used as a library and that implementing this would require some work, so feel free to ignore/close this issue if you think it is not worth it.
I just updated pyCoverM to use the latest release (0.6.0) and I noticed that I can't compile the wheel on Windows because of Galah:
Because dereplication is not something that most people would expect in a tool to estimate contig/genome coverage, maybe it could be moved to the
[features]
section of theCargo.toml
file and then Galah could be marked as an optional requirement. This way, CoverM could be compiled on Windows.