old_contents: ###############################################################################
  # Caleydo - Visualization for Molecular Biology - http://caleydo.org
  # Copyright (c) The Caleydo Team. All rights reserved.
  # Licensed under the new BSD license, available at http://caleydo.org/license
  ###############################################################################
  
  
  def phovea(registry):
    """
    register extension points
    :param registry:
    """
    # generator-phovea:begin
  <%- sextensions.map((d) => `  registry.append('${d.type}','${d.id}','${name}.${d.module}', ${stringifyPython(d.extras, '  ')})`).join('\n\n')%>
    # generator-phovea:end
    pass
  
  
  def phovea_config():
    """
    :return: file pointer to config file
    """
    from os import path
    here = path.abspath(path.dirname(__file__))
    config_file = path.join(here, 'config.json')
    return config_file if path.exists(config_file) else None
  
new_contents: ###############################################################################
  # Caleydo - Visualization for Molecular Biology - http://caleydo.org
  # Copyright (c) The Caleydo Team. All rights reserved.
  # Licensed under the new BSD license, available at http://caleydo.org/license
  ###############################################################################
  
  
  def phovea(registry):
    """
    register extension points
    :param registry:
    """
    # generator-phovea:begin
  <%- sextensions.map((d) => `  registry.append('${d.type}', '${d.id}', '${name}.${d.module}', ${stringifyPython(d.extras, '  ')})`).join('\n\n')%>
    # generator-phovea:end
    pass
  
  
  def phovea_config():
    """
    :return: file pointer to config file
    """
    from os import path
    here = path.abspath(path.dirname(__file__))
    config_file = path.join(here, 'config.json')
    return config_file if path.exists(config_file) else None
  
subject: optimize formatting