mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-08 20:55:18 +00:00
Fixes to config extraction
This commit is contained in:
parent
5112bfed19
commit
dccd7bf5ee
@ -96,7 +96,8 @@ 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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…
Reference in New Issue
Block a user