Skip to content

Commit

Permalink
add culomb file for backwards compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeGehring committed Oct 8, 2023
1 parent 1b84355 commit c33f4c7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions femwell/culomb.py
@@ -0,0 +1,12 @@
import datetime
import warnings

if datetime.date.today().year <= 2023:
warnings.warn(
"Typo corrected, femwell.culomb is now called femwell.coulomb. Importing culomb will stop working after the end of 2023",
DeprecationWarning,
)
else:
raise FileNotFoundError("femwell.culomb will be removed. use femwell.coulomb instead.")

from femwell.coulomb import *

0 comments on commit c33f4c7

Please sign in to comment.