mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-28 09:36:01 -04:00
Fixes to config extraction
This commit is contained in:
parent
5112bfed19
commit
dccd7bf5ee
2 changed files with 3 additions and 3 deletions
|
@ -96,10 +96,11 @@ sub processRun {
|
||||||
foreach my $kw (@keywords) {
|
foreach my $kw (@keywords) {
|
||||||
# print "$kw $line\n";
|
# print "$kw $line\n";
|
||||||
if ($line =~ /^${kw}\s+(\S*)/) {
|
if ($line =~ /^${kw}\s+(\S*)/) {
|
||||||
#print "$line $kw $1\n";
|
$results{$kw} = int($1);
|
||||||
|
} elsif ($line =~ /^${kw}__\S*\s+(\S*)/) {
|
||||||
$results{$kw} = int($1);
|
$results{$kw} = int($1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach my $kw (@keywords) {
|
foreach my $kw (@keywords) {
|
||||||
#print "$kw\t$results{$kw}\n";
|
#print "$kw\t$results{$kw}\n";
|
||||||
|
|
|
@ -152,7 +152,6 @@ def areaDelay(tech, delays, areas, labels, fig, ax, norm=False):
|
||||||
|
|
||||||
if (len(labels) > 0):
|
if (len(labels) > 0):
|
||||||
texts = [plt.text(delays[i], areas[i], labels[i], ha='center', va='center') for i in range(len(labels))]
|
texts = [plt.text(delays[i], areas[i], labels[i], ha='center', va='center') for i in range(len(labels))]
|
||||||
print ("Calling adjust_text with labels " + str(len(labels)) +" ***"+ str(texts) + "***")
|
|
||||||
adjust_text(texts)
|
adjust_text(texts)
|
||||||
return fig
|
return fig
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue