Skip to content
Snippets Groups Projects
Commit 1ea71b0a authored by kohleman's avatar kohleman
Browse files

added openBIS connection (OpenbisServiceFacadeFactory)

SVN: 26282
parent 3824ecdf
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,9 @@ def getVocabulary(vocabularyCode):
def getNonbilledSamples (sampleType):
'''Getting all RAW samples where no Invoice was sent '''
'''Getting all samples where no Invoice was sent
@param param: Sample Type which we are looking for
'''
sc = SearchCriteria();
sc.addMatchClause(SearchCriteria.MatchClause.createAttributeMatch(SearchCriteria.MatchClauseAttribute.TYPE, sampleType));
......@@ -380,6 +382,8 @@ Main script
# for now setting the format by hand
format = "xlsx"
service = OpenbisServiceFacadeFactory.tryCreate("openBISUsername", "password", "https://my-openbis.bsse.ethz.ch:8443", 5000)
foundSamples = getNonbilledSamples("ILLUMINA_SEQUENCING")
groupByPiDict = groupByPi(foundSamples)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment