Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot call template solely relying on default settings #6

Open
JanStreffing opened this issue Sep 25, 2021 · 0 comments
Open

Cannot call template solely relying on default settings #6

JanStreffing opened this issue Sep 25, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@JanStreffing
Copy link
Contributor

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'
@JanStreffing JanStreffing added the bug Something isn't working label Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant