-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add culomb file for backwards compatability
- Loading branch information
1 parent
1b84355
commit c33f4c7
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 * |