scripts/run.py
def is_ipython_notebook(file_name):
    """
    Return True if file_name matches a regexp for an ipython notebook.  False otherwise.
    :param file_name: file to test
    """
    if (not re.match("^.*checkpoint\.ipynb$", file_name)) and re.match("^.*\.ipynb$", file_name): return True
    return False
def is_ipython_notebook(file_name):
    """
    Return True if file_name matches a regexp for an ipython notebook.  False otherwise.
    :param file_name: file to test
    """
    if (not re.match("^.*checkpoint\.ipynb$", file_name)) and re.match("^.*\.ipynb$", file_name): return True
    return False
Return True if file_name matches a regexp for an ipython notebook.  False otherwise.
    :param file_name: file to test