Skip to content

Commit 15766c4

Browse files
committed
Tidy up issues with speech marks
1 parent 3501639 commit 15766c4

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

src/dls_pmac_control/CSstatus.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,16 +504,16 @@ def __init__(self, parent):
504504
has been processed."""
505505
)
506506
# Bit 7
507-
self.lstLabelTexts.append("Reserved for future use" "")
507+
self.lstLabelTexts.append("Reserved for future use")
508508
self.lstTooltips.append("""Reserved for future use""")
509509
# Bit 6
510-
self.lstLabelTexts.append("Reserved for future use" "")
510+
self.lstLabelTexts.append("Reserved for future use")
511511
self.lstTooltips.append("""Reserved for future use""")
512512
# Bit 5
513-
self.lstLabelTexts.append("Reserved for future use" "")
513+
self.lstLabelTexts.append("Reserved for future use")
514514
self.lstTooltips.append("""Reserved for future use""")
515515
# Bit 4
516-
self.lstLabelTexts.append("Reserved for future use" "")
516+
self.lstLabelTexts.append("Reserved for future use")
517517
self.lstTooltips.append("""Reserved for future use""")
518518
# Bit 3
519519
self.lstLabelTexts.append("Radius Error")

src/dls_pmac_control/__main__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ def main():
932932
action="store_true",
933933
dest="verbose",
934934
default=False,
935-
help="Print more details (than necessary in most " "cases...)",
935+
help="Print more details (than necessary in most cases...)",
936936
)
937937
parser.add_option(
938938
"-o",
@@ -996,8 +996,7 @@ def main():
996996
"--naxes",
997997
action="store",
998998
dest="nAxes",
999-
help="Display and poll NAXES axes. Default is 32 for a "
1000-
"PMAC, 8 for a geoBrick",
999+
help="Display and poll NAXES axes. Default is 32 for a PMAC, 8 for a GeoBrick",
10011000
)
10021001
parser.add_option(
10031002
"-t",
@@ -1006,7 +1005,7 @@ def main():
10061005
type="float",
10071006
dest="timeout",
10081007
default=3.0,
1009-
help="Set the communication timeout (default: 3 seconds, " "minimum: 1 second)",
1008+
help="Set the communication timeout (default: 3 seconds, minimum: 1 second)",
10101009
)
10111010
parser.add_option(
10121011
"--version",

src/dls_pmac_control/gather.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def saveClicked(self):
436436
dataLists = []
437437
line = "point,"
438438
for i, channel in enumerate(self.lstChannels):
439-
line += f'CH{i} Axis{channel.axisNo} {channel.dataSourceInfo["desc"]},'
439+
line += f"CH{i} Axis{channel.axisNo} {channel.dataSourceInfo['desc']},"
440440
dataLists.append(channel.scaledData)
441441
fptr.write(line + "\n")
442442

src/dls_pmac_control/ppmacgather.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def saveClicked(self):
351351
dataLists = []
352352
line = "point,"
353353
for i, channel in enumerate(self.lstChannels):
354-
line += f'CH{i}, Axis {channel.axisNo}, {ppmacDataSources[channel.descNo]["desc"]}, '
354+
line += f"CH{i}, Axis {channel.axisNo}, {ppmacDataSources[channel.descNo]['desc']}, "
355355
dataLists.append(channel.Data)
356356
fptr.write(line + "\n")
357357

0 commit comments

Comments
 (0)