From 1ea71b0a80f5f575ed8b49b61f6081b4bd7bf52c Mon Sep 17 00:00:00 2001 From: kohleman <kohleman> Date: Mon, 30 Jul 2012 11:46:31 +0000 Subject: [PATCH] added openBIS connection (OpenbisServiceFacadeFactory) SVN: 26282 --- deep_sequencing_unit/source/Jython/create_QGF_Invoices.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deep_sequencing_unit/source/Jython/create_QGF_Invoices.py b/deep_sequencing_unit/source/Jython/create_QGF_Invoices.py index 37f45710803..804dcceef72 100644 --- a/deep_sequencing_unit/source/Jython/create_QGF_Invoices.py +++ b/deep_sequencing_unit/source/Jython/create_QGF_Invoices.py @@ -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) -- GitLab