Skip to content

Intro notebook raises _IncompleteInputError when running sequentially #6

Description

@sahithiroy

Hi,

While running python/intro/intro.ipynb in VS Code using "Run All", I encountered an _IncompleteInputError for the following cell:

cbioportal.Cancer_Types.getAllCancerTypesUsingGET(

Since the parentheses are not closed, executing the cell directly raises an error.

It appears this cell is intended only to demonstrate parameter inspection (e.g., using Shift+Tab), but when running the notebook sequentially, it causes confusion for users.

Suggested Improvement

To improve usability, one of the following could help:

Add a comment explaining that the cell is not meant to be executed

Complete the function call so the notebook runs without errors

Convert the snippet into a Markdown example instead of executable code

I’d be happy to submit a PR with a proposed fix.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions