diff --git a/deep_sequencing_unit/source/Jython/create_QGF_Invoices.py b/deep_sequencing_unit/source/Jython/create_QGF_Invoices.py index 37f457108034a3d6dcdd86faef3f20155f2f9dd5..804dcceef7295fd49bbb979d0bfaacd83666fa0b 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)