Skip to content

Commit 57c1e4a

Browse files
committed
fixing import error
1 parent fe59fe3 commit 57c1e4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nff/io/chgnet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Convert NFF Dataset to CHGNet StructureData"""
22

3-
from typing import Dict, List
3+
from typing import Dict, List, TYPE_CHECKING
44
import functools
55
import random
66
import torch
@@ -12,7 +12,7 @@
1212
from nff.io import AtomsBatch
1313
from nff.utils.cuda import batch_detach, detach
1414
from chgnet.graph import CrystalGraph, CrystalGraphConverter
15-
from typing import TYPE_CHECKING
15+
1616
if TYPE_CHECKING:
1717
from collections.abc import Sequence
1818

0 commit comments

Comments
 (0)