We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe59fe3 commit 57c1e4aCopy full SHA for 57c1e4a
nff/io/chgnet.py
@@ -1,6 +1,6 @@
1
"""Convert NFF Dataset to CHGNet StructureData"""
2
3
-from typing import Dict, List
+from typing import Dict, List, TYPE_CHECKING
4
import functools
5
import random
6
import torch
@@ -12,7 +12,7 @@
12
from nff.io import AtomsBatch
13
from nff.utils.cuda import batch_detach, detach
14
from chgnet.graph import CrystalGraph, CrystalGraphConverter
15
-from typing import TYPE_CHECKING
+
16
if TYPE_CHECKING:
17
from collections.abc import Sequence
18
0 commit comments