Skip to content
Snippets Groups Projects
Select Git revision
  • bd9ba495e22b1fb7a07eb71fa5427d0cfe5acd6b
  • bing_issues#190_tf2
  • bing_tf2_convert
  • bing_issue#189_train_modular
  • simon_#172_integrate_weatherbench
  • develop
  • bing_issue#188_restructure_ambs
  • yan_issue#100_extract_prcp_data
  • bing_issue#170_data_preprocess_training_tf1
  • Gong2022_temperature_forecasts
  • bing_issue#186_clean_GMD1_tag
  • yan_issue#179_integrate_GZAWS_data_onfly
  • bing_issue#178_runscript_bug_postprocess
  • michael_issue#187_bugfix_setup_runscript_template
  • bing_issue#180_bugs_postprpocess_meta_postprocess
  • yan_issue#177_repo_for_CLGAN_gmd
  • bing_issue#176_integrate_weather_bench
  • michael_issue#181_eval_era5_forecasts
  • michael_issue#182_eval_subdomain
  • michael_issue#119_warmup_Horovod
  • bing_issue#160_test_zam347
  • ambs_v1
  • ambs_gmd_nowcasting_v1.0
  • GMD1
  • modular_booster_20210203
  • new_structure_20201004_v1.0
  • old_structure_20200930
27 results

config_preprocess_step2.py

Blame
  • __init__.py 1.02 KiB
    from ._version import version_info, __version__
    
    from .widget_upload import *
    
    
    def _jupyter_nbextension_paths():
        """Called by Jupyter Notebook Server to detect if it is a valid nbextension and
        to install the widget
    
        Returns
        =======
        section: The section of the Jupyter Notebook Server to change.
            Must be 'notebook' for widget extensions
        src: Source directory name to copy files from. Webpack outputs generated files
            into this directory and Jupyter Notebook copies from this directory during
            widget installation
        dest: Destination directory name to install widget files to. Jupyter Notebook copies
            from `src` directory into <jupyter path>/nbextensions/<dest> directory
            during widget installation
        require: Path to importable AMD Javascript module inside the
            <jupyter path>/nbextensions/<dest> directory
        """
        return [{
            'section': 'notebook',
            'src': 'static',
            'dest': 'dicom-upload',
            'require': 'dicom-upload/extension'
        }]