Skip to content

Commit 9e03a79

Browse files
author
mclim-rsa25545
committed
etst of system
1 parent ec40b60 commit 9e03a79

File tree

4 files changed

+7
-71
lines changed

4 files changed

+7
-71
lines changed

.flake8

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
# E251 unexpected spaces around keyword / parameter equals
3030
# E266 too many leading '#' for block comment
3131
# E271 multiple spaces after keyword
32-
# E272 multiple spaces before keyword
32+
# E272 multiple spaces bfore keyword
3333
# E305 expected 2 blank lines after class or function definition, found 1
34-
# E0401 Import Error
34+
# E401 Import Error
3535
# E502 the backslash is redundant between brackets
3636
# E0611 no-name-in-module
3737
# E701 multiple statements on one line (colon)
@@ -66,7 +66,7 @@
6666
# F401 '' imported but unused
6767
# F841 local variable 'y' is assigned to but never used
6868
ignore=C103, C114, C115, C116, C301, C303, C321, C325, C326, C411, C413,
69-
E102, E116, E127, E203, E221, E222, E225, E226, E241, E251, E266, E271, E272, E302, E305, E401, E502, E611, E701, E704, E731, E1101,
69+
E102, E116, E127, E203, E221, E222, E225, E226, E241, E251, E266, E271, E272, E302, E305, E401, E502, E611, E701, E704, E731,
7070
F541,
7171
R801, R902, R0903,
7272
W621, W702, W1309, W612, W201, W235, W291,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
![Coveralls github](https://img.shields.io/coveralls/github/mclim9/rssd)
55
![Versioning ](https://img.shields.io/badge/calver-YY.0M.MICRO-22bfda.svg)
66
![Python package ](https://github.com/mclim9/rssd/workflows/Python%20package/badge.svg)
7-
7+
<!-- test -->
88
## Description
99
- Example python drivers
1010
- [VSA](https://github.com/mclim9/rssd/tree/master/rssd/VSA), Vector Spectrum Analyzer

rssd/iqdata.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def writeXml(self, filenameiqw, filenamexml):
206206
xmlfile.close()
207207
return 1
208208

209-
def writeIqTar(self, FileName): # Verified 2020.0115 #pylint: disable=R1710
209+
def writeIqTar(self, FileName): # Verified 2020.0115 #pylint: disable=R1710
210210
"""writes an iq.tar file. Complex self.iqData values are interpreted as Volts.
211211
self.iqData can be a list of complex or list of floats (iqiqiq format)."""
212212
path,filename = os.path.split(FileName) #pylint: disable=W0612
@@ -223,7 +223,7 @@ def writeIqTar(self, FileName): # Verified 2020.0115 #pylint: disab
223223
try:
224224
tar = tarfile.open(FileName, "w")
225225
tar.add(os.path.join(path, binaryfile), arcname=binaryfile)
226-
#tar.add(os.path.join(path, xsltfilename), arcname=xsltfilename) #xslt is optional
226+
#tar.add(os.path.join(path, xsltfilename), arcname=xsltfilename) #xslt is optional
227227
tar.add(os.path.join(path, xmlfilename), arcname=xmlfilename)
228228
tar.close()
229229
os.remove(os.path.join(path, binaryfile))
@@ -234,7 +234,7 @@ def writeIqTar(self, FileName): # Verified 2020.0115 #pylint: disab
234234

235235
def readIqTar(self,FileName): # Verified 2020.0115
236236
"""Reads an iq.tar file --> self.iqData"""
237-
path,filename = os.path.split(FileName) #pylint: disable=W0612
237+
path,filename = os.path.split(FileName) #pylint: disable=W0612
238238
self.fSamplingRate = 0
239239

240240
try:

rssd/test/yaVISA.py

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)