File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- from ._version import __version__
2-
3- try :
4- from comms import Comms
1+ from comms import Comms
52
6- comms = Comms ("lorem" )
7- except ModuleNotFoundError :
8- comms = None
3+ from ._version import __version__
4+ from .batching import to_batch , to_sample
5+ from .calculator import Calculator as LOREMCalculator
6+ from .models .bec import LoremBEC
7+ from .models .mlip import Lorem
8+ from .transforms import ToBatch , ToSample
99
10- # These modules require marathon and jaxpme at import time.
11- # When those are not installed (e.g. CI), we skip them.
12- try :
13- from .batching import to_batch , to_sample
14- from .calculator import Calculator as LOREMCalculator
15- from .models .bec import LoremBEC
16- from .models .mlip import Lorem
17- from .transforms import ToBatch , ToSample
18- except ModuleNotFoundError :
19- pass
10+ comms = Comms ("lorem" )
2011
2112__all__ = [
2213 "__version__" ,
Original file line number Diff line number Diff line change 1- try :
2- from .bec import LoremBEC
3- from .mlip import Lorem
4- except ModuleNotFoundError :
5- pass
1+ from .bec import LoremBEC
2+ from .mlip import Lorem
63
74__all__ = ["Lorem" , "LoremBEC" ]
Original file line number Diff line number Diff line change 1- import pytest
2-
3- comms = pytest .importorskip ("comms" )
4-
5-
61def test_version ():
72 import lorem
83
You can’t perform that action at this time.
0 commit comments