Skip to content

Commit

Permalink
Cleanup code line with no purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobachetti committed Mar 19, 2024
1 parent ec069b0 commit c842c2c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions basie/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,13 @@ def set_sections(self, nifs, bandwidth=None):

def _get_backend_instructions(self, receiver=None):
res = ""
print(self.sections)
enable_string = "\tEnable="

for i, (_id, _bw) in enumerate(self.sections):
res += "\tsetSection=%d,*,%f,*,*,%f,*\n" % (_id, _bw,
(1.0 /
(self.samplingInterval
* 1000.0)),)
#if i > 0:
# enable_string += ";"
#enable_string += "1"

#for i in range(self._empty_sections):
# enable_string += ";0"
enable_string = ""
if self.feeds is not None:
enable_string = "\tenable=%s\n" % (self.feeds,)
Expand Down

0 comments on commit c842c2c

Please sign in to comment.