Skip to content

Commit 8e171c9

Browse files
Update deeplc.py
1 parent a451203 commit 8e171c9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

deeplc/deeplc.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@
7070
from psm_utils.io.peptide_record import peprec_to_proforma
7171
from psm_utils.psm import PSM
7272
from psm_utils.psm_list import PSMList
73-
from tensorflow.keras.models import load_model
73+
74+
try:
75+
from tensorflow.keras.models import load_model
76+
except:
77+
from tensorflow.python.keras.models import load_model
7478
from tensorflow.python.eager import context
7579

7680
from deeplc._exceptions import CalibrationError

0 commit comments

Comments
 (0)