Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
f075fe7d
Commit
f075fe7d
authored
Jun 06, 2017
by
Stefan Tauner
Browse files
FIJI Settings: ignore undefined net names when looking for duplicate instrumentations
parent
abe5216e
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/FIJI/Settings.pm
View file @
f075fe7d
...
...
@@ -303,12 +303,16 @@ sub read_settingsfile ($$$) {
return
(
undef
,
$msg
);
}
if
(
defined
$dup
->
{
$fiu_ref
->
{'
FIU_NET_NAME
'}})
{
my
$msg
=
"
More than one FIU attached to
"
.
$fiu_ref
->
{'
FIU_NET_NAME
'};
$logger
->
warn
(
$msg
);
$warn
.=
$msg
;
}
else
{
$dup
->
{
$fiu_ref
->
{'
FIU_NET_NAME
'}}
=
1
;
# Test for multiple instrumentations of a single net
my
$netname
=
$fiu_ref
->
{'
FIU_NET_NAME
'};
if
(
defined
(
$netname
)
&&
length
(
$netname
)
>
0
)
{
if
(
defined
$dup
->
{
$netname
})
{
my
$msg
=
"
More than one FIU attached to
$netname
";
$logger
->
warn
(
$msg
);
$warn
.=
$msg
;
}
else
{
$dup
->
{
$fiu_ref
->
{'
FIU_NET_NAME
'}}
=
1
;
}
}
$fiji_settings_ref
->
{'
fius
'}
->
[
$fiu_num
]
=
$fiu_ref
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment