Re: [Rdkit-discuss] rdkit and emscripten

2015-05-14 Thread Guillaume GODIN
-1211 GENEVE 8 De : Giuseppe Marco Randazzo [gmranda...@gmail.com] Envoyé : mardi, 12. mai 2015 13:38 À : Guillaume GODIN Cc : rdkit-discuss@lists.sourceforge.net Objet : Re: [Rdkit-discuss] rdkit and emscripten I thinks is a linking problem. Do you link

Re: [Rdkit-discuss] rdkit and emscripten

2015-05-14 Thread Giuseppe Marco Randazzo
| CASE POSTALE 239 | CH-1211 GENEVE 8 De : Guillaume GODIN Envoyé : mardi, 12. mai 2015 18:01 À : Giuseppe Marco Randazzo Cc : rdkit-discuss@lists.sourceforge.net Objet : RE:[Rdkit-discuss] rdkit and emscripten Dear Marco, I find a solution! I prepare a github to explain it best

Re: [Rdkit-discuss] rdkit and emscripten

2015-05-12 Thread Giuseppe Marco Randazzo
Hello Guillaume, you have a vector of unsigned int SparseIntVectboost::uint32_t” which is a vector of unsigned int. Looking at the C++ public member function you can find “getVal(int index)” which give to you the correspondent bit as integer value. So, you can iterate and convert to a string

Re: [Rdkit-discuss] rdkit and emscripten

2015-05-12 Thread Guillaume GODIN
De : Giuseppe Marco Randazzo [gmranda...@gmail.com] Envoyé : mardi, 12. mai 2015 13:38 À : Guillaume GODIN Cc : rdkit-discuss@lists.sourceforge.net Objet : Re: [Rdkit-discuss] rdkit and emscripten I thinks is a linking problem. Do you link libSmilesParse.so? from your line

Re: [Rdkit-discuss] rdkit and emscripten

2015-05-12 Thread Giuseppe Marco Randazzo
3645 MOBILE +41 (0)79 536 1039 Firmenich SA RUE DES JEUNES 1 | CASE POSTALE 239 | CH-1211 GENEVE 8 De : Giuseppe Marco Randazzo [gmranda...@gmail.com] Envoyé : mardi, 12. mai 2015 10:36 À : Guillaume GODIN Cc : rdkit-discuss@lists.sourceforge.net Objet : Re: [Rdkit-discuss

Re: [Rdkit-discuss] rdkit and emscripten

2015-05-12 Thread Guillaume GODIN
Marco Randazzo [gmranda...@gmail.com] Envoyé : mardi, 12. mai 2015 10:36 À : Guillaume GODIN Cc : rdkit-discuss@lists.sourceforge.net Objet : Re: [Rdkit-discuss] rdkit and emscripten Hello Guillaume, you have a vector of unsigned int SparseIntVectboost::uint32_t” which is a vector of unsigned int

Re: [Rdkit-discuss] rdkit and emscripten

2015-05-11 Thread Guillaume GODIN
Dear Greg, Sorry, I forget that link point. So emscripten now see the fingerprint, how to convert it on a readable format like base64 or a string... ? Best regards, Guillaume Hi, Are you sure that you have included the Fingerprints library in the link statement? In the future please