Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
a2f27523
Commit
a2f27523
authored
13 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
LMS-2638 Finished
SVN: 23693
parent
b7f0b7a9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deep_sequencing_unit/source/html/downloader/openbis-dendrogram.html
+17
-5
17 additions, 5 deletions
...ncing_unit/source/html/downloader/openbis-dendrogram.html
with
17 additions
and
5 deletions
deep_sequencing_unit/source/html/downloader/openbis-dendrogram.html
+
17
−
5
View file @
a2f27523
...
@@ -341,16 +341,21 @@ function updateInspectors(duration)
...
@@ -341,16 +341,21 @@ function updateInspectors(duration)
.
append
(
"
caption
"
).
text
(
function
(
d
)
{
return
d
;
});
.
append
(
"
caption
"
).
text
(
function
(
d
)
{
return
d
;
});
// We just want to see non-directories here
// We just want to see non-directories here
var
downloadTableRow
=
var
downloadTableRow
=
downloadTable
.
selectAll
(
"
tr
"
).
data
(
filesForSequencingSample
,
function
(
d
)
{
return
d
.
pathInDataSet
});
downloadTable
.
selectAll
(
"
tr
"
)
downloadTableRow
.
data
(
function
(
d
)
{
return
(
d
.
files
)
?
d
.
files
.
filter
(
function
(
file
)
{
return
!
file
.
isDirectory
})
:
[]
})
.
enter
()
.
enter
()
.
append
(
"
tr
"
)
.
append
(
"
tr
"
)
.
append
(
"
td
"
)
.
append
(
"
td
"
)
.
style
(
"
text-align
"
,
"
left
"
)
.
style
(
"
text-align
"
,
"
left
"
)
.
on
(
"
click
"
,
downloadTableFile
)
.
on
(
"
click
"
,
downloadTableFile
)
.
text
(
function
(
d
)
{
return
d
.
pathInListing
});
.
text
(
function
(
d
)
{
return
d
.
pathInListing
});
downloadTableRow
.
exit
()
.
transition
()
.
duration
(
duration
)
.
style
(
"
opacity
"
,
"
0
"
)
.
remove
();
inspector
.
exit
().
transition
()
inspector
.
exit
().
transition
()
.
duration
(
duration
)
.
duration
(
duration
)
.
style
(
"
opacity
"
,
"
0
"
)
.
style
(
"
opacity
"
,
"
0
"
)
...
@@ -378,12 +383,13 @@ function retrieveFilesForSequencingSample(sequencing)
...
@@ -378,12 +383,13 @@ function retrieveFilesForSequencingSample(sequencing)
// No point getting files for a sample that hasn't been sequenced
// No point getting files for a sample that hasn't been sequenced
if
(
!
hasSampleBeenSequenced
(
sequencing
))
return
;
if
(
!
hasSampleBeenSequenced
(
sequencing
))
return
;
sequencing
.
loadingFiles
=
true
;
dsu
.
retrieveDataSetsForSequencingSample
(
sequencing
,
function
(
data
)
{
dsu
.
retrieveDataSetsForSequencingSample
(
sequencing
,
function
(
data
)
{
if
(
!
data
.
result
)
return
;
if
(
!
data
.
result
)
return
;
sequencing
.
datasets
=
data
.
result
.
map
(
function
(
bisds
)
{
return
{
bis
:
bisds
}
});
sequencing
.
datasets
=
data
.
result
.
map
(
function
(
bisds
)
{
return
{
bis
:
bisds
}
});
sequencing
.
files
=
[];
sequencing
.
files
=
[];
sequencing
.
loadingFiles
=
true
;
// Get all the files and update the inspectors once all the data is avilable
// Get all the files and update the inspectors once all the data is avilable
var
deferrer
=
var
deferrer
=
...
@@ -443,6 +449,12 @@ function downloadTableFile(d)
...
@@ -443,6 +449,12 @@ function downloadTableFile(d)
dsu
.
server
.
getDownloadUrlForFileForDataSet
(
d
.
dataset
.
bis
.
code
,
d
.
pathInDataSet
,
action
);
dsu
.
server
.
getDownloadUrlForFileForDataSet
(
d
.
dataset
.
bis
.
code
,
d
.
pathInDataSet
,
action
);
}
}
function
filesForSequencingSample
(
d
)
{
if
(
d
.
loadingFiles
)
return
[{
pathInListing
:
"
Loading...
"
}];
return
(
d
.
files
)
?
d
.
files
.
filter
(
function
(
file
)
{
return
!
file
.
isDirectory
})
:
[];
}
function
enterApp
()
function
enterApp
()
{
{
$
(
"
#login-form-div
"
).
hide
();
$
(
"
#login-form-div
"
).
hide
();
...
...
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