Closed sathiyabalu89 closed 3 years ago
I was able to download the jar file from https://search.maven.org/artifact/uk.ac.cam.ch.wwmm/chemicalTagger. And i was able to execute the Final_test.java. Thank you.
Thanks, The SLF4J (log4j) error seems to be quite common , e.g. https://mkyong.com/java/log4j2-failed-to-load-class-org-slf4j-impl-staticloggerbinder/
On Tue, Dec 15, 2020 at 6:18 PM sathiyabalu89 notifications@github.com wrote:
I was able to download the jar file from https://search.maven.org/artifact/uk.ac.cam.ch.wwmm/chemicalTagger. And i was able to execute the Final_test.java. Thank you.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BlueObelisk/chemicaltagger/issues/6#issuecomment-745473146, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFTCS4E6IVMBEZCZBGGJ7LSU6R7BANCNFSM4U2IFNBA .
-- "I always retain copyright in my papers, and nothing in any contract I sign with any publisher will override that fact. You should do the same".
Peter Murray-Rust Reader Emeritus in Molecular Informatics Yusuf Hamied Department of Chemistry University of Cambridge CB2 1EW, UK +44-1223-336432
I am glad you resolved this; but I am not 100% what the cause of it was.
On the point of a CLI example, this is not exactly what you want, but is in the right ball park and may be able to give you some ideas.
Hello, would you be able to help me in understanding how you were able to run Final_test.java ? I seem to be running into the exact same problem. Thank you
The same for me @Mantas-it did you find a solution?
I was able to execute Chemicaltagger on Eclipse. I exported the project as runnable jar (Chemicaltagger.jar) with "Final_test.java" as main class. The content of the Final_test.java is same as in the readme.md
Then, when I run in CLI as "java -jar Chemicaltagger.jar", I get the following error.
I tried changing the path in RegexTagger.java to "private String tagFilePath ="resources/uk/ac/cam/ch/wwmm/chemicaltagger/regexTagger/regexTags.txt"; " as the regexTags.txt is in Chemicaltagger/resource folder when I unzipped the jar file. But got the same error.
It would be great if I can get to run Chemicaltagger on CLI. Is it possible to have CLI repo for chemical tagger similar to BlueObelisk/oscar4-cli. Once again thank for the wonderful work.