Skip to content

Cannot call template solely relying on default settings #6

@JanStreffing

Description

@JanStreffing

When calling a template it is not possible to rely solely on default settings. Calling in a workflow:

ice_integrals_combined_nocomparison:
        figsize: [14, 8]

works fine. But calling:

ice_integrals_combined_nocomparison:

results in:

Traceback (most recent call last):
  File "/p/project/chhb19/jstreffi/software/miniconda3/envs/pyfesom2/bin/fdiag", line 33, in <module>
    sys.exit(load_entry_point('fdiag', 'console_scripts', 'fdiag')())
  File "/p/project/chhb19/jstreffi/software/fdiag/fdiag/fdiag.py", line 234, in fdiag
    webpage = analyses[analysis](settings, analysis)
  File "/p/project/chhb19/jstreffi/software/fdiag/fdiag/drivers.py", line 183, in drive_ice_integrals_combined_nocomparison
    driver_settings = settings[analysis_name].copy()
AttributeError: 'NoneType' object has no attribute 'copy'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions