Hi Colin,

It sounds like you did a "Save As" while viewing the notebook page in
GitHub. This gets you an HTML file, not the ipynb file.
To get the file itself, click the "Raw" button on the page in github and
then do a "save as" on the unformatted JSON that you get.

I hope this helps,
-greg

On Mon, Jun 25, 2018 at 1:26 PM Colin Lam <yhco...@gmail.com> wrote:

> Hello,
>
> I am having trouble opening Jupyter notebooks on
> https://github.com/rdkit/rdkit-tutorials and wondering if you might help.
>
> I saved one of the notebooks, e.g. 001_ReadingMolecules1.ipynb (
> https://github.com/rdkit/rdkit-tutorials/blob/master/notebooks/001_ReadingMolecules1.ipynb)
> locally. Then I did "jupyter notebook" and navigated to the directory
> containing the .ipynb file. When I clicked on the link to that file, a new
> browser window opened with the following error:
>
> Unreadable Notebook:
> /home/chronos/user/Downloads/001_ReadingMolecules1.ipynb
> NotJSONError("Notebook does not appear to be JSON:
> '\\n\\n\\n\\n\\n\\n<!DOCTYPE html>\\n<html lang...",)
>
> I was already using the Jupyter notebook specifically installed within the
> same conda environment (as opposed to the default notebook) that has RDKit.
> I was also able to open other simple non-RDKit notebooks.
>
> Wondering if I might be missing something obvious here, as I am new to
> both RDKit and Jupyter notebook. I have been searching online for this
> issue but to no avail. I'd be grateful if someone could point me in a right
> direction.
>
> Thanks a lot for reading,
> Colin
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to