mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-16 00:50:06 +01:00
bugfixes for output
This commit is contained in:
@@ -267,10 +267,10 @@ class Scheduler(object):
|
||||
port_line += '\n'
|
||||
cyc_line = '| Cycles |'
|
||||
for i in range(len(port_bndg)):
|
||||
space = ' '
|
||||
space = ''
|
||||
cyc = str(round(port_bndg[i], 2))
|
||||
if(len(cyc) == 4):
|
||||
space = ''
|
||||
if(len(cyc) < 4):
|
||||
space = ' ' * (4 - len(cyc))
|
||||
cyc_line += ' {}{}|'.format(cyc, space)
|
||||
cyc_line += '\n'
|
||||
binding = header + horiz_line + port_line + horiz_line + cyc_line + horiz_line
|
||||
|
||||
@@ -212,7 +212,6 @@ class Osaca(object):
|
||||
False if file does not exist or is not an elf64 file
|
||||
|
||||
"""
|
||||
print(self.filepath, os.path.isfile(self.filepath))
|
||||
if(os.path.isfile(self.filepath)):
|
||||
self.store_src_code_elf()
|
||||
if('file format elf64' in self.srcCode[1].lower()):
|
||||
|
||||
Reference in New Issue
Block a user