Skip to content
This repository was archived by the owner on Apr 12, 2018. It is now read-only.

Commit ce12b2b

Browse files
committed
Correct error in sector V running for b->d and s->d
1 parent b935527 commit ce12b2b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

wetrunner/definitions.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ def listdict():
4646
sectors[qq]['IV'].append(['{}{}{}'.format(i, p, qq)
4747
for i in range(1, 11, 2)])
4848

49+
50+
qqdict = {
51+
'sb': ['uu', 'dd', 'cc', 'ss', 'bb'],
52+
'db': ['uu', 'ss', 'cc', 'dd', 'bb'],
53+
'ds': ['uu', 'bb', 'cc', 'dd', 'ss'],
54+
}
4955
# class 5
5056
for qq in ['sb', 'db', 'ds']:
5157
if qq == 'ds':
@@ -54,7 +60,7 @@ def listdict():
5460
sname = qq
5561
for p in ['', 'p']:
5662
_C = []
57-
for pp in ['uu', 'dd', 'cc', 'ss', 'bb']:
63+
for pp in qqdict[qq]:
5864
if pp[0] in qq:
5965
_C += ['{}{}{}{}'.format(i, p, qq, pp)
6066
for i in range(1, 11, 2)] # 1, 3, 5, 7, 9

0 commit comments

Comments
 (0)