From 6c58b28a23f2d2fca47546185d4a8c5deb774da3 Mon Sep 17 00:00:00 2001 From: bbm Date: Tue, 12 Dec 2023 11:39:52 -0500 Subject: [PATCH] fix imports from bumps.util --- refl1d/magnetism.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/refl1d/magnetism.py b/refl1d/magnetism.py index 607b1e0a..81001fc3 100644 --- a/refl1d/magnetism.py +++ b/refl1d/magnetism.py @@ -39,12 +39,12 @@ """ from __future__ import print_function -from dataclasses import dataclass +from dataclasses import dataclass, field import numpy as np from numpy import inf from bumps.parameter import Parameter, flatten, to_dict from bumps.mono import monospline -from bumps.util import field, schema, Optional, Any, Union, Dict, Callable, Literal, Tuple, List, Literal +from bumps.util import Optional, Any, Union, Dict, Callable, Literal, Tuple, List, Literal from .reflectivity import BASE_GUIDE_ANGLE as DEFAULT_THETA_M