Skip to content

Commit d574b02

Browse files
committed
Update readqubdata.py
1 parent 855289a commit d574b02

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

artisatomic/readqubdata.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
import os
23
import typing as t
34
from collections import defaultdict
45
from collections import namedtuple
@@ -11,7 +12,12 @@
1112

1213
import artisatomic
1314

14-
tyndall_co3_path = (Path(__file__).parent.resolve() / ".." / "atomic-data-qub" / "co_tyndall").resolve()
15+
tyndall_co3_path = (
16+
Path(__file__).parent.resolve()
17+
/ ".."
18+
/ "atomic-data-qub"
19+
/ ("co_tyndall_test_sample" if os.environ.get("ARTISATOMIC_TESTMODE") == "1" else "co_tyndall")
20+
).resolve()
1521

1622
ryd_to_ev = 13.605693122994232
1723

0 commit comments

Comments
 (0)