-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added messages if ThinLayers lack a specific dependencies
Also added options for installation
- Loading branch information
Showing
3 changed files
with
27 additions
and
11 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 |
---|---|---|
@@ -1,16 +1,21 @@ | ||
import warnings | ||
|
||
from .TL_Base import BaseThinLayer | ||
from .TL_Strenda import ThinLayerStrendaML | ||
|
||
try: | ||
from .TL_Pysces import ThinLayerPysces | ||
except ModuleNotFoundError: | ||
except ModuleNotFoundError as e: | ||
print( | ||
"%s - ThinLayerCopasi now returns 'None', please provide the dependencies to use this module." % str(e) | ||
) | ||
ThinLayerPysces = None | ||
|
||
try: | ||
from .TL_Copasi import ThinLayerCopasi | ||
except ModuleNotFoundError: | ||
except ModuleNotFoundError as e: | ||
print( | ||
"%s - ThinLayerCopasi now returns 'None', please provide the dependencies to use this module." % str(e) | ||
) | ||
ThinLayerCopasi = None | ||
|
||
try: | ||
from .TL_Strenda import ThinLayerStrendaML | ||
except ModuleNotFoundError: | ||
ThinLayerStrendaML = None |
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 |
---|---|---|
|
@@ -16,4 +16,6 @@ pyDaRUS | |
openpyxl | ||
numexpr | ||
seaborn | ||
plotly | ||
plotly | ||
pysces | ||
lmfit |
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