Commit b1f8d3b5 authored by Jason Reneuve's avatar Jason Reneuve
Browse files

deepcopy keys_fields

parent 059d1e152a9f
Pipeline #22224 passed with stage
in 10 minutes and 3 seconds
......@@ -14,6 +14,7 @@ Provides:
"""
from copy import deepcopy
from pathlib import Path
from logging import warn
from math import pi
......@@ -800,7 +801,7 @@ class SpatioTemporalSpectraNS:
equation must start with 'omega=', 'kh=', 'kz=', 'ikh=' or 'ikz='.
"""
keys_plot = self.keys_fields
keys_plot = deepcopy(self.keys_fields)
if self.nb_dim == 3:
keys_plot.extend(["Khd", "Khr", "Kp"])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment