Closed compbiolover closed 2 years ago
Hi @compbiolover
Yes, it doesn't seem that ner_server.py started correctly. Could you check the log of ner_server.py? It is written on logs/nohup_multi_ner.out.
Sure @mjeensung,
logs/nohup_multi_ner.out
has the following error message:
f'{dict_path[2:]}.PubTator')
^
SyntaxError: invalid syntax
File "multi_ner/ner_server.py", line 23
f'{dict_path[2:]}.PubTator')
^
SyntaxError: invalid syntax
Thanks @compbiolover
What's the Python version you are using? BERN2 runs well on Python 3.7 and it may cause unexpected problems on different versions of Python.
No problem @mjeensung,
I am using Python 3.7.13
when I do condo list
inside my BERN2
miniconda
environment. I can try re-installing BERN2
with Python 3.7
and see if that fixes the issue
If you still have a problem, please feel free to open a new issue. Thank you.
Hi @minstar & @mjeensung , I have attempted to install
BERN2
locally, but I get the following error when I launch it:I have also seen that this error appears to keep
server.py
from running as it is not running when I runbash stop_bern2.sh
. I get the following outputFinally, I still tried to submit the plain text and PMID examples listed under the local instillation instructions and I simply get no output even after waiting for several minutes. My thought process leads me to believe that the error in
server.py
is causingBERN2
to simply terminate and hence no outputs from the tutorial text and PMIDS.Thanks for your help! Let me know if I can help with any additional files or insight.
Andrew