MDU-PHL / ngmaster

In silico multi-antigen sequence typing for Neisseria gonorrhoeae (NG-MAST)
GNU General Public License v3.0
6 stars 5 forks source link

load_entry_point #24

Closed DrReemaSingh closed 6 years ago

DrReemaSingh commented 6 years ago

I have recently installed ngmaster on centos7 machine. The installation was successful without any error. However, when I am trying to access ngmaster using "ngmaster --test" I am getting following error:-

"File "/home/user/.local/bin/ngmaster", line 9, in load_entry_point('ngmaster==0.5.1', 'console_scripts', 'ngmaster')() File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 479, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2703, in load_entry_point return ep.load() File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2321, in load return self.resolve() File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2327, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/home/user/.local/lib/python3.4/site-packages/ngmaster/ngmaster.py", line 166 cmd = f'echo "{NGprimers}"' ^ SyntaxError: invalid syntax " I would highly appreciate any help.

Thanks, Reema,

andersgs commented 6 years ago

Hi Reema.

The issue is related to your Python version. You need to update to version 3.6 or later. I’ll have to update the docs on that one.

However, there is a singularity container for ngmaster. https://singularity-hub.org/collections/579

I am on my phone on the road. Apologies for the brevity. Will be able to provide more details tomorrow.

Best. A.

DrReemaSingh commented 6 years ago

Hi Andersgs, Thanks for your reply. Ngmaster singularity container did the job. Will use this for now. Much Appreciated, Reema,