Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
INB
Text Mining
Bio Tools
umls-tagger
Commits
cd3baf5d
Commit
cd3baf5d
authored
Mar 23, 2020
by
javi
Browse files
minor change reading the configuration file, space are allowed after =
or | in semantic types and excluded sourecer semantic types.
parent
b6398491
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/es/bsc/inb/umlstagger/main/App.java
View file @
cd3baf5d
...
...
@@ -410,7 +410,7 @@ public class App {
String
[]
data
=
line
.
split
(
"\\|"
);
if
(
data
.
length
==
3
)
{
System
.
out
.
println
(
line
);
semanticTypesMap
.
put
(
data
[
0
],
data
[
2
]);
semanticTypesMap
.
put
(
data
[
0
],
data
[
2
]
.
trim
()
);
}
else
{
System
.
out
.
println
(
"Error reading semantic type, line: "
+
line
);
System
.
exit
(
1
);
...
...
@@ -432,7 +432,7 @@ public class App {
String
[]
data
=
line
.
split
(
"="
);
if
(
data
.
length
==
2
)
{
System
.
out
.
println
(
line
);
semanticTypesMapExcluded
.
put
(
data
[
0
],
data
[
1
]);
semanticTypesMapExcluded
.
put
(
data
[
0
],
data
[
1
]
.
trim
()
);
}
else
{
System
.
out
.
println
(
"Error reading semantic type, line: "
+
line
);
System
.
exit
(
1
);
...
...
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