zdf1987 / Usefull_Scripts

1 stars 0 forks source link

GetTypeStrainNumFromLPSN line 117 sig is not defined? #1

Open DingJingZhi opened 3 days ago

DingJingZhi commented 3 days ago

ubuntu Linux 系统 GetTypeStrainGenomes 19:51 $: python GetTypeStrainNumFromLPSN.py 结果: Traceback (most recent call last): File "/media/djz/new310G/2024new/EasyCGTree/GetTypeStrainGenomes/GetTypeStrainNumFromLPSN.py", line 117, in if sig > 4: ^^^ NameError: name 'sig' is not defined

Dr Zhang,how to do?

zdf1987 commented 3 days ago

This script can't be used directly in shell. It was tested in IDEL under Windows. We now have a new version that can be used as you did. I will upload it tomorrow. I will inform you when I'm done. THANK YOU FOR REACHING OUT!

张道锋 博士 河海大学 海洋学院 海洋生物研究所 地址:江苏省南京市西康路1号 邮编:210098 @. & @. 手机:15221393487

Dao-Feng Zhang, Ph. D. Institute of Marine Biology, College of Oceanography, Hohai University No.1 Xikang Road, Nanjing 210098, P.R. China. E-mail: @. & @. Tel:+86 15221393487 ---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年11月12日 20:06 | | 收件人 | @.> | | 抄送至 | @.***> | | 主题 | [zdf1987/Usefull_Scripts] GetTypeStrainNumFromLPSN line 117 sig is not defined? (Issue #1) |

ubuntu Linux 系统 GetTypeStrainGenomes 19:51 $: python GetTypeStrainNumFromLPSN.py 结果: Traceback (most recent call last): File "/media/djz/new310G/2024new/EasyCGTree/GetTypeStrainGenomes/GetTypeStrainNumFromLPSN.py", line 117, in if sig > 4: ^^^ NameError: name 'sig' is not defined

Dr Zhang,how to do?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

DingJingZhi commented 3 days ago

张博士,不是的,是因为我修订第14行 Dr zhang, Line 14 url = 'https://lpsn.dsmz.de/species/limosilactobacillus-reuteri' so your code do not work! species is out! you codes only loves genus-level up!

DingJingZhi commented 3 days ago

change the line 14: url = 'https://lpsn.dsmz.de/genus/limosilactobacillus' I have gotten 45 species.