Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,688
Issues
1,688
List
Boards
Labels
Service Desk
Milestones
Merge Requests
84
Merge Requests
84
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
82af23e8
Commit
82af23e8
authored
Apr 27, 2017
by
Aurélien Béliard
Committed by
Mathieu Giraud
May 02, 2017
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use germline.js instead of germline.g in the browser
parent
e97c27b7
Pipeline
#2192
failed with stages
in 11 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
18 deletions
+12
-18
browser/js/germline_builder.js
browser/js/germline_builder.js
+11
-18
browser/js/model.js
browser/js/model.js
+1
-0
No files found.
browser/js/germline_builder.js
View file @
82af23e8
...
...
@@ -70,7 +70,7 @@ GermlineList.prototype = {
* */
fallbackLoad
:
function
()
{
try
{
this
.
list
=
germline
_data
[
'
systems
'
]
this
.
list
=
germline
}
catch
(
err
){
console
.
log
({
"
type
"
:
"
popup
"
,
"
msg
"
:
"
Incorrect browser installation, 'js/germline.js' is not found<br />please run 'make' in 'germline/'
"
});
...
...
@@ -155,24 +155,17 @@ Germline.prototype = {
if
(
type
==
"
D
"
)
type2
=
"
4
"
if
(
type
==
"
J
"
)
type2
=
"
3
"
if
(
typeof
this
.
m
.
germlineList
.
list
[
system
]
!=
'
undefined
'
&&
typeof
this
.
m
.
germlineList
.
list
[
system
][
'
recombinations
'
]
!=
'
undefined
'
){
if
(
typeof
this
.
m
.
germlineList
.
list
[
system
][
'
recombinations
'
][
type2
]
!=
'
undefined
'
){
for
(
var
i
=
0
;
i
<
this
.
m
.
germlineList
.
list
[
system
][
'
recombinations
'
][
type2
].
length
;
i
++
){
var
filename
=
this
.
m
.
germlineList
.
list
[
system
][
'
recombinations
'
][
type2
][
i
]
filename
=
filename
.
split
(
'
/
'
)[
filename
.
split
(
'
/
'
).
length
-
1
]
//remove path
filename
=
filename
.
split
(
'
.
'
)[
0
]
//remove file extension
if
(
typeof
germline
[
filename
]
!=
'
undefined
'
){
for
(
var
key
in
germline
[
filename
]){
this
.
allele
[
key
]
=
germline
[
filename
][
key
]
}
}
else
{
console
.
log
({
"
type
"
:
"
flash
"
,
"
msg
"
:
"
warning : this browser version doesn't have the
"
+
filename
+
"
germline file
"
,
"
priority
"
:
2
});
}
}
this
.
allele
[
system
+
type
]
=
{}
for
(
key
in
m
.
germline
[
system
+
type
])
{
this
.
allele
[
key
]
=
{}
this
.
allele
[
key
][
"
seq
"
]
=
m
.
germline
[
system
+
type
][
key
];
}
}
//reduce germline size (keep only detected genes)
//and add undetected genes (missing from germline)
...
...
browser/js/model.js
View file @
82af23e8
...
...
@@ -110,6 +110,7 @@ Model.prototype = {
this
.
tagSelectorList
=
document
.
createElement
(
"
ul
"
)
this
.
tagSelector
.
appendChild
(
this
.
tagSelectorList
);
this
.
germline
=
germline
;
document
.
body
.
appendChild
(
this
.
tagSelector
);
$
(
'
.tagSelector
'
).
hover
(
function
()
{
...
...
Mathieu Giraud
@magiraud
mentioned in issue
#2384
·
May 12, 2017
mentioned in issue
#2384
mentioned in issue #2384
Toggle commit list
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