Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
COBREXA.jl
Manage
Activity
Members
Plan
External wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LCSB-BioCore
COBREXA.jl
Commits
0ba2caf6
"2021/2021-03-18_basicGitTraining/slides/thanks.md" did not exist on "8de9655a6c550fa0a6cb5040181c225cfaf54019"
Unverified
Commit
0ba2caf6
authored
3 years ago
by
cylon-x
Committed by
Miroslav Kratochvil
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
automatic formatting changes
parent
5ed9ff1f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/base/utils/Gene.jl
+6
-1
6 additions, 1 deletion
src/base/utils/Gene.jl
src/base/utils/Metabolite.jl
+6
-1
6 additions, 1 deletion
src/base/utils/Metabolite.jl
src/base/utils/Reaction.jl
+6
-1
6 additions, 1 deletion
src/base/utils/Reaction.jl
with
18 additions
and
3 deletions
src/base/utils/Gene.jl
+
6
−
1
View file @
0ba2caf6
...
...
@@ -13,7 +13,12 @@ function check_duplicate_annotations(
for
(
k
,
gene
)
in
gs
if
k
!=
check_gene
.
id
for
anno
in
inspect_annotations
if
!
isempty
(
intersect
(
get
(
gene
.
annotations
,
anno
,
[
"c1"
]),
get
(
check_gene
.
annotations
,
anno
,
"c2"
)))
if
!
isempty
(
intersect
(
get
(
gene
.
annotations
,
anno
,
[
"c1"
]),
get
(
check_gene
.
annotations
,
anno
,
"c2"
),
),
)
return
k
end
end
...
...
This diff is collapsed.
Click to expand it.
src/base/utils/Metabolite.jl
+
6
−
1
View file @
0ba2caf6
...
...
@@ -13,7 +13,12 @@ function check_duplicate_annotations(
for
(
k
,
met
)
in
mets
if
met
.
compartment
==
cmet
.
compartment
&&
k
!=
cmet
.
id
for
anno
in
inspect_annotations
if
!
isempty
(
intersect
(
get
(
met
.
annotations
,
anno
,
[
"c1"
]),
get
(
cmet
.
annotations
,
anno
,
[
"c2"
])))
if
!
isempty
(
intersect
(
get
(
met
.
annotations
,
anno
,
[
"c1"
]),
get
(
cmet
.
annotations
,
anno
,
[
"c2"
]),
),
)
return
k
end
end
...
...
This diff is collapsed.
Click to expand it.
src/base/utils/Reaction.jl
+
6
−
1
View file @
0ba2caf6
...
...
@@ -54,7 +54,12 @@ function check_duplicate_annotations(
for
(
k
,
rxn
)
in
rxns
if
k
!=
crxn
.
id
for
anno
in
inspect_annotations
if
!
isempty
(
intersect
(
get
(
crxn
.
annotations
,
anno
,
[
"c1"
]),
get
(
rxn
.
annotations
,
anno
,
[
"c2"
])))
if
!
isempty
(
intersect
(
get
(
crxn
.
annotations
,
anno
,
[
"c1"
]),
get
(
rxn
.
annotations
,
anno
,
[
"c2"
]),
),
)
return
k
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment