[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63657] Cell format in Jupyter notebooks

From: Guillaume
Subject: [Octave-bug-tracker] [bug #63657] Cell format in Jupyter notebooks
Date: Fri, 13 Jan 2023 12:34:12 -0500 (EST)


                 Summary: Cell format in Jupyter notebooks
                 Project: GNU Octave
               Submitter: gyom
               Submitted: Fri 13 Jan 2023 05:34:09 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


Follow-up Comments:

Date: Fri 13 Jan 2023 05:34:09 PM UTC By: Guillaume <gyom>
According to the definition of code cells in Jupyter Notebooks:
their 'source' value can be "single string or [list, of, strings]". It seems
that jupyter_notebook only expects the latter. I fixed it by adding the
following in the constructor:

if (! iscell (nbcell.source))
  obj.notebook.cells{i}.source = {obj.notebook.cells{i}.source};


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]