Skip to content

Commit 54c15ca

Browse files
committed
Merge remote-tracking branch 'gitlab/osl-final-release' into dev
2 parents 8dfd1a1 + 34ff98c commit 54c15ca

File tree

3 files changed

+42
-6
lines changed

3 files changed

+42
-6
lines changed

Pipfile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[dev-packages]
7+
pytest-cov = "*"
8+
pytest-black = "*"
9+
pytest-flake8 = "*"
10+
flake8-isort = "*"
11+
pytest-mypy = "*"
12+
sphinx = "==4.3.2"
13+
sphinx-rtd-theme = "*"
14+
doc8 = "*"
15+
mock = "*"
16+
types-mock = "*"
17+
types-paramiko = "*"
18+
19+
[packages]
20+
numpy = "*"
21+
pyqt5 = "*"
22+
pythonqwt = "*"
23+
mock = "*"
24+
dls-pmaclib = ">=3.0.0"
25+
26+
[scripts]
27+
# Put coverage here so we don't interfere with debugging in the IDE
28+
tests = "python -m pytest --cov=dls_pmaccontrol --cov-report term"
29+
docs = "sphinx-build -E -b html docs build/html"
30+
31+
[pipenv]
32+
allow_prereleases = true

Pipfile.lock

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dls_pmaccontrol/axissettings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ def _updateAxisSetupIVars(self, ivars):
121121
retLst = self.parent.pmac.getAxisSetupIVars(self.currentMotor, ivars)
122122
if retLst:
123123
for i, retVal in enumerate(retLst):
124-
exec('self.lneIx%d.setText(str("%s"))' % (ivars[i], retVal))
124+
if i < len(ivars):
125+
exec('self.lneIx%d.setText(str("%s"))' % (ivars[i], retVal))
125126

126127
def _updateAxisSignalControlsVars(self):
127128
(

0 commit comments

Comments
 (0)