Skip to content

Commit ada215f

Browse files
author
Hernan Morales
committed
Add MultiQC wrapper + tests
Complete MAFFT wrapper. Add tests Fix requestDirectoryPath
1 parent 2dae8b5 commit ada215f

10 files changed

Lines changed: 1281 additions & 34 deletions

repository/BioNGS/BioMultiQCWrapper.class.st

Lines changed: 456 additions & 0 deletions
Large diffs are not rendered by default.

repository/BioPharo7/BioObject.extension.st

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
Extension { #name : #BioObject }
1+
Extension { #name : 'BioObject' }
22

3-
{ #category : #'*BioPharo7' }
3+
{ #category : '*BioPharo7' }
44
BioObject class >> requestDirectoryPath [
55
" Answer a <FileReference> with selected directory "
66

7-
| tmpFileDialog |
8-
tmpFileDialog := FileDialogWindow basicNew
9-
initialize;
10-
title: 'Select a directory';
11-
answerDirectory;
7+
| reference |
8+
StOpenDirectoryPresenter new
9+
openFolder: FileLocator workingDirectory;
10+
title: 'Choose directory';
11+
okAction: [ :directoryReference | reference := directoryReference ];
1212
openModal.
13-
tmpFileDialog isNil ifTrue: [ self error: 'FileDialogWindow is broken' ].
14-
^ tmpFileDialog answer "pathString"
13+
^ reference
1514

1615
]
1716

18-
{ #category : #'*BioPharo7' }
17+
{ #category : '*BioPharo7' }
1918
BioObject class >> requestOpenCSVFile [
2019
" Open request dialog to select a CSV file "
2120

@@ -24,7 +23,7 @@ BioObject class >> requestOpenCSVFile [
2423
label: 'Choose CSV file'
2524
]
2625

27-
{ #category : #'*BioPharo7' }
26+
{ #category : '*BioPharo7' }
2827
BioObject class >> requestOpenFASTAFile [
2928
" Open request dialog to select a FASTA file "
3029

@@ -33,7 +32,7 @@ BioObject class >> requestOpenFASTAFile [
3332
label: 'Choose FASTA file'
3433
]
3534

36-
{ #category : #'*BioPharo7' }
35+
{ #category : '*BioPharo7' }
3736
BioObject class >> requestOpenXMLFile [
3837
" Open request dialog to select a XML file "
3938

repository/BioPharo7/ZipArchiveMember.extension.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Extension { #name : #ZipArchiveMember }
1+
Extension { #name : 'ZipArchiveMember' }
22

3-
{ #category : #'*BioPharo7' }
3+
{ #category : '*BioPharo7' }
44
ZipArchiveMember >> extractInDirectory: aDirectory overwrite: overwriteAll [
55
"Extract this entry into the given directory. Answer #okay, #failed, #abort, or #retryWithOverwrite."
66
| path fileDir file localName |

repository/BioPharo7/ZnBufferedReadStream.extension.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Extension { #name : #ZnBufferedReadStream }
1+
Extension { #name : 'ZnBufferedReadStream' }
22

3-
{ #category : #'*BioPharo7' }
3+
{ #category : '*BioPharo7' }
44
ZnBufferedReadStream >> name [
55
" Answer a <String> identifying the receiver "
66

77
^ self wrappedStream name.
88
]
99

10-
{ #category : #'*BioPharo7' }
10+
{ #category : '*BioPharo7' }
1111
ZnBufferedReadStream >> reset [
1212

1313
stream reset.

repository/BioPharo7/ZnCharacterReadStream.extension.st

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Extension { #name : #ZnCharacterReadStream }
1+
Extension { #name : 'ZnCharacterReadStream' }
22

3-
{ #category : #'*BioPharo7' }
3+
{ #category : '*BioPharo7' }
44
ZnCharacterReadStream >> blastXMLDtdLocations [
55
" Answer a <Collection> of known NCBI Blast Output DTD locations "
66

@@ -9,7 +9,7 @@ ZnCharacterReadStream >> blastXMLDtdLocations [
99
with: '<!DOCTYPE BlastOutput PUBLIC "-//NCBI//NCBI BlastOutput/EN" "http://www.ncbi.nlm.nih.gov/dtd/NCBI_BlastOutput.dtd">'
1010
]
1111

12-
{ #category : #'*BioPharo7' }
12+
{ #category : '*BioPharo7' }
1313
ZnCharacterReadStream >> isBlastXMLFormat [
1414
" Only answer <true> when the receiver's contents *looks like* a NCBI Blast format, not performing any validity check "
1515

@@ -19,7 +19,7 @@ ZnCharacterReadStream >> isBlastXMLFormat [
1919
^ answer
2020
]
2121

22-
{ #category : #'*BioPharo7' }
22+
{ #category : '*BioPharo7' }
2323
ZnCharacterReadStream >> isGenBankFlatFormat [
2424
" Only answer <true> when the receiver's contents *looks like* a GenBank flat format, not performing any validity check "
2525

@@ -35,7 +35,7 @@ ZnCharacterReadStream >> isGenBankFlatFormat [
3535
^ flatSignature beginsWith: 'LOCUS '
3636
]
3737

38-
{ #category : #'*BioPharo7' }
38+
{ #category : '*BioPharo7' }
3939
ZnCharacterReadStream >> isXML [
4040
" See superimplementor's comment "
4141

@@ -51,13 +51,13 @@ ZnCharacterReadStream >> isXML [
5151
^ xmlSignature isXML
5252
]
5353

54-
{ #category : #'*BioPharo7' }
54+
{ #category : '*BioPharo7' }
5555
ZnCharacterReadStream >> name [
5656

5757
^ self wrappedStream name
5858
]
5959

60-
{ #category : #'*BioPharo7' }
60+
{ #category : '*BioPharo7' }
6161
ZnCharacterReadStream >> nextMatchAll: aColl [
6262
"Answer true if next N objects are the ones in aColl,
6363
else false. Advance stream of true, leave as was if false."
@@ -71,14 +71,14 @@ ZnCharacterReadStream >> nextMatchAll: aColl [
7171
^ true
7272
]
7373

74-
{ #category : #'*BioPharo7' }
74+
{ #category : '*BioPharo7' }
7575
ZnCharacterReadStream >> nextMatchAllAnyOf: aCollection [
7676

7777
^ aCollection anySatisfy: [ : subCol | self nextMatchAll: subCol ].
7878

7979
]
8080

81-
{ #category : #'*BioPharo7' }
81+
{ #category : '*BioPharo7' }
8282
ZnCharacterReadStream >> readStream [
8383
" Compatibility with SAXParser "
8484

repository/BioPharo7/ZnEncodedStream.extension.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Extension { #name : #ZnEncodedStream }
1+
Extension { #name : 'ZnEncodedStream' }
22

3-
{ #category : #'*BioPharo7' }
3+
{ #category : '*BioPharo7' }
44
ZnEncodedStream >> nextPutTerminator [
55
" Append a line ending terminator to the receiver "
66

77
self wrappedStream nextPutAll: (String perform: self platformTerminator)
88
]
99

10-
{ #category : #'*BioPharo7' }
10+
{ #category : '*BioPharo7' }
1111
ZnEncodedStream >> reset [
1212

1313
self position: 0

repository/BioPharo7/package.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Package { #name : #BioPharo7 }
1+
Package { #name : 'BioPharo7' }

0 commit comments

Comments
 (0)