-
Notifications
You must be signed in to change notification settings - Fork 106
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
pangolin --all-versions broken with 4.1 #467
Comments
I'm also getting this error when running Here's the dockerfile that I'm using to build the docker image. Currently have Basically it uses the Is this error being thrown because I don't have
|
If the GH actions environment includes pangolin/.github/workflows/pangolin.yml Line 16 in 78c24e8
The name of it makes me think that miniconda is first installed, which comes with |
Replacing this line pangolin/pangolin/utils/initialising.py Line 226 in 78c24e8
for program in ['usher --version', 'gofasta --version', 'minimap2 --version',]:
output = subprocess.run(program, shell=True, check=True,
stdout=subprocess.PIPE, encoding='utf-8')
version = output.stdout.strip().split()[-1].strip('()v')
print(f"{program.split()[0]} {version}") would be a more robust/less conda dependent way to get the versions of all the dependencies apart from |
Ah that makes sense so! I've got a potential fix here for your case @kapsakcj, but It assumes that people will either have conda or mamba installed though so not a fix for the original poster. Ah, @fmaguire just seeing your message there- yeah this is what we had before. Maybe we should just revert to this style. |
Thanks @fmaguire and @aineniamh . I know gofasta also has that flag
the tricky one might be |
So that branch push there should do everything except the faToVcf now without relying on conda or mamba. I'll see if checks pass for that. Edit: nope |
That commit (aca98ff) fixed it for me |
https://github.com/cov-lineages/pangolin/releases/tag/v4.1.1 |
Sorry folks -- not @pvanheus's fault but mine from #440. Every time something works for me in conda, I should know it's going to not work for somebody else -- or even for me, later, when I have made some change (installing mamba?), run TIL that
I see from the function that there is a I will add a |
Reading the code, the kent/src options processing lib module actually has a
The first line of output includes the version:
The |
I've added this in as a potential version print out?
|
Excellent, thanks @aineniamh! |
Thanks for the quick fix @aineniamh and thank you for the explanation @AngieHinrichs ! Sorry @pvanheus , I didn't mean to point fingers. I clearly don't understand how to dig into python tracebacks The 4.1.1 release has resolved this issue for me. |
#467 potential fatovcf version print out
Latest release has this issue fixed in it now v4.1.2. |
I'm running pangolin as part of wf-artic (with docker, image:
ontresearch/pangolin:4.0.5
). It failed on this morning's samples:pangolin 4.0.5:
after running pangolin --update:
The text was updated successfully, but these errors were encountered: