Skip to content

Commit 59cd4e0

Browse files
authored
Update stafnet_dataset.py
1 parent 8599724 commit 59cd4e0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ppsci/data/dataset/stafnet_dataset.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
import pandas
77
try:
88
import pgl
9-
except ModuleNotFoundError as e:
10-
logger.error("please install pgl with \'pip install pgl\'.")
11-
raise ModuleNotFoundError(str(e))
9+
except ModuleNotFoundError:
10+
pass
1211
from paddle import io
1312
from paddle.io import DataLoader
1413
from scipy.spatial.distance import cdist

0 commit comments

Comments
 (0)