Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
ab27d06d
Commit
ab27d06d
authored
Jan 07, 2021
by
Piotr Gawron
Browse files
var nams refactored
parent
d57a2953
Changes
1
Hide whitespace changes
Inline
Side-by-side
annotation/src/test/java/lcsb/mapviewer/annotation/services/ModelAnnotatorTest.java
View file @
ab27d06d
...
...
@@ -14,6 +14,8 @@ import lcsb.mapviewer.annotation.AnnotationTestFunctions;
import
lcsb.mapviewer.annotation.services.annotators.ElementAnnotator
;
import
lcsb.mapviewer.common.IProgressUpdater
;
import
lcsb.mapviewer.model.map.*
;
import
lcsb.mapviewer.model.map.compartment.Compartment
;
import
lcsb.mapviewer.model.map.compartment.SquareCompartment
;
import
lcsb.mapviewer.model.map.model.*
;
import
lcsb.mapviewer.model.map.reaction.Reaction
;
import
lcsb.mapviewer.model.map.species.*
;
...
...
@@ -49,15 +51,15 @@ public class ModelAnnotatorTest extends AnnotationTestFunctions {
model
.
addReaction
(
new
Reaction
());
Species
protein
Alias
1
=
new
GenericProtein
(
"a1"
);
protein
Alias
1
.
setName
(
"SNCA"
);
Species
protein1
=
new
GenericProtein
(
"a1"
);
protein1
.
setName
(
"SNCA"
);
Species
protein
Alias
2
=
new
GenericProtein
(
"a2"
);
protein
Alias
2
.
setName
(
"PDK1"
);
protein
Alias
2
.
addMiriamData
(
new
MiriamData
(
MiriamRelationType
.
BQ_BIOL_IS_DESCRIBED_BY
,
MiriamType
.
CAS
,
"c"
));
Species
protein2
=
new
GenericProtein
(
"a2"
);
protein2
.
setName
(
"PDK1"
);
protein2
.
addMiriamData
(
new
MiriamData
(
MiriamRelationType
.
BQ_BIOL_IS_DESCRIBED_BY
,
MiriamType
.
CAS
,
"c"
));
model
.
addElement
(
protein
Alias
1
);
model
.
addElement
(
protein
Alias
2
);
model
.
addElement
(
protein1
);
model
.
addElement
(
protein2
);
modelAnnotator
.
annotateModel
(
model
,
updater
,
modelAnnotator
.
createDefaultAnnotatorSchema
());
...
...
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