Skip to content

Commit c33f4c7

Browse files
committed
add culomb file for backwards compatability
1 parent 1b84355 commit c33f4c7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

femwell/culomb.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import datetime
2+
import warnings
3+
4+
if datetime.date.today().year <= 2023:
5+
warnings.warn(
6+
"Typo corrected, femwell.culomb is now called femwell.coulomb. Importing culomb will stop working after the end of 2023",
7+
DeprecationWarning,
8+
)
9+
else:
10+
raise FileNotFoundError("femwell.culomb will be removed. use femwell.coulomb instead.")
11+
12+
from femwell.coulomb import *

0 commit comments

Comments
 (0)