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
c47db205
Commit
c47db205
authored
14 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
MINOR: Fixed dependency problem.
SVN: 16291
parent
75ad8a71
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/PlateDatasetLoader.java
+18
-2
18 additions, 2 deletions
...bis/plugin/screening/server/logic/PlateDatasetLoader.java
with
18 additions
and
2 deletions
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/PlateDatasetLoader.java
+
18
−
2
View file @
c47db205
package
ch.systemsx.cisd.openbis.plugin.screening.server.logic
;
import
static
ch
.
systemsx
.
cisd
.
openbis
.
generic
.
shared
.
GenericSharedConstants
.
DATA_STORE_SERVER_WEB_APPLICATION_NAME
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
ch.systemsx.cisd.common.exceptions.UserFailureException
;
import
ch.systemsx.cisd.openbis.dss.generic.shared.api.v1.DataStoreApiUrlUtilities
;
import
ch.systemsx.cisd.openbis.generic.server.business.bo.datasetlister.IDatasetLister
;
import
ch.systemsx.cisd.openbis.generic.server.business.bo.samplelister.ISampleLister
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.DataStore
;
...
...
@@ -229,7 +230,22 @@ class PlateDatasetLoader
protected
String
getDataStoreUrlFromDataStore
(
DataStore
dataStore
)
{
return
DataStoreApiUrlUtilities
.
getDataStoreUrlFromDataStore
(
dataStore
);
String
datastoreUrl
=
dataStore
.
getDownloadUrl
();
System
.
out
.
println
(
"Data store url : "
+
datastoreUrl
);
// The url objained form a DataStore object is the *download* url. Convert this to the
// datastore URL
if
(
datastoreUrl
.
endsWith
(
DATA_STORE_SERVER_WEB_APPLICATION_NAME
))
{
datastoreUrl
=
datastoreUrl
.
substring
(
0
,
datastoreUrl
.
length
()
-
DATA_STORE_SERVER_WEB_APPLICATION_NAME
.
length
());
}
if
(
datastoreUrl
.
endsWith
(
"/"
))
{
datastoreUrl
=
datastoreUrl
.
substring
(
0
,
datastoreUrl
.
length
()
-
1
);
}
return
datastoreUrl
;
}
protected
static
SampleIdentifier
createSampleIdentifier
(
PlateIdentifier
plate
)
...
...
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