Closed wfs-lilly closed 4 years ago
That looks like almost certainly a version issue. I'll try to track down when dendropy added the is_rooted
argument. What version are you using?
Looks like version 4.0.0. It’s whatever is in the partis docker image.
Singularity partis_latest.sif:/partis> ipython Python 2.7.17 |Anaconda, Inc.| (default, Oct 21 2019, 19:04:46) Type "copyright", "credits" or "license" for more information.
IPython 5.8.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details.
In [1]: import dendropy
In [2]: dendropy.version Out[2]: '4.0.0'
William F. Smith Bioinformatician BCforward Lilly Biotechnology Center 10290 Campus Point Dr. San Diego, CA 92121 smith_william1@network.lilly.commailto:smith_william1@network.lilly.com
CONFIDENTIALITY NOTICE: This email message (including all attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, copying or distribution is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
Cool, also nice catch. We didn't catch this cause get-tree-metrics
is not in the regular testing procedure, but this requires dendropy 4.4.0. I've updated the Dockerfile here.
Very good – thanks. Does DockerHub automatically trigger a rebuild when there is a Github change?
William F. Smith Bioinformatician BCforward Lilly Biotechnology Center 10290 Campus Point Dr. San Diego, CA 92121 smith_william1@network.lilly.commailto:smith_william1@network.lilly.com
CONFIDENTIALITY NOTICE: This email message (including all attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure, copying or distribution is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
From: Duncan Ralph notifications@github.com Sent: Friday, November 15, 2019 12:49 PM To: psathyrella/partis partis@noreply.github.com Cc: William Smith - Network smith_william1@network.lilly.com; Author author@noreply.github.com Subject: [EXTERNAL] Re: [psathyrella/partis] Crash when using get-tree-metrics on output of partis partition run. (#300)
EXTERNAL EMAIL: Use caution before replying, clicking links, and opening attachments.
Cool, also nice catch. We didn't catch this cause get-tree-metrics is not in the regular testing procedure, but this requires dendropy 4.4.0. I've updated the Dockerfile herehttps://github.com/psathyrella/partis/commit/b5c944627879e03b10a42af9d13ea9333368cde2.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/psathyrella/partis/issues/300?email_source=notifications&email_token=ANU5HJX2AA3XFLT4CXHK2K3QT4DMLA5CNFSM4JNUYLB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEGVRMY#issuecomment-554522803, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANU5HJUTCQOFJD2QAYLVTO3QT4DMLANCNFSM4JNUYLBQ.
Yeah, when the change is pushed to master, which it was. You can check the builds here, and it has a link there to the github source commit.
Output and stack trace:
[edited to add code quoting by DR]