Conversation
|
Hello @korbini and welcome to Travis runs some automatic style checks on new PRs to make sure they meet our guidelines. In this case, here's a list of what it's complaining about: If you can fix those minor style points, then we'll review the PR. |
|
|
||
| homepage = 'https://github.com/compomics/searchgui' | ||
| description = "SearchGUI runs proteomics identification search engines and de novo sequencing algorithms, currently X! Tandem, | ||
| MS-GF+, MS Amanda, MyriMatch, Comet, Tide, Andromeda, OMSSA, Novor and DirecTag." |
There was a problem hiding this comment.
@korbini You'll need to use """ when wrapping a string across multiple lines.
You can use eb --check-style to make sure your easyconfig matches the style requirements that are checked automatically.
One thing I just noticed: there's no easyblock specified, and there's no custom easyblock for SearchGUI (yet)... Was that omitted by accident maybe?
There was a problem hiding this comment.
@boegel Thank you for pointing that out. Hope it's fine now.
|
|
||
| source_urls = ['http://genesis.ugent.be/maven2/eu/isas/searchgui/SearchGUI/%(version)s/'] | ||
| sources = ['SearchGUI-%(version)s-mac_and_linux.tar.gz'] | ||
|
|
There was a problem hiding this comment.
@korbini Please include a SHA256 checksum, you can use eb SearchGUI-3.3.3-Java-1.8.0_152.eb --inject-checksums for this.
| ('Mono', '4.6.2.7') | ||
| ] | ||
|
|
||
|
|
There was a problem hiding this comment.
@korbini Style nitpicking: please drop the duplicate empty line (same below)
There was a problem hiding this comment.
Thank you for the hint. Done.
| description = """SearchGUI is a user-friendly open-source graphical user interface for configuring and | ||
| running proteomics identification search engines and de novo sequencing algorithms, | ||
| currently supporting X! Tandem, MS-GF+, MS Amanda, MyriMatch, Comet, Tide, Andromeda, OMSSA, | ||
| Novor and DirecTag.""" |
There was a problem hiding this comment.
@korbini Better trim the whitespace on these lines to a single space, otherwise this will look quite strange in the output of module show
There was a problem hiding this comment.
Thank you for the hint. Done.
|
|
||
|
|
||
| modaliases = { | ||
| 'SearchCLI': 'java -cp $EBROOTSEARCHGUI/SearchGUI-%(version)s.jar eu.isas.searchgui.cmd.SearchCLI', |
There was a problem hiding this comment.
@korbini Is this using some kind of mirror, or is that just the way how SearchCLI works?
There was a problem hiding this comment.
@boegel It looks for me this is like it works, so we found it convenient to give it a version independent alias.
https://compomics.github.io/projects/searchgui/wiki/searchcli.html
| 'FastaCLI': 'java -cp $EBROOTSEARCHGUI/SearchGUI-%(version)s.jar eu.isas.searchgui.cmd.FastaCLI' | ||
| } | ||
|
|
||
| modextravars = {'LC_ALL': 'C'} |
There was a problem hiding this comment.
@korbini Can you clarify why this is needed? Not sure that's a good idea...
There was a problem hiding this comment.
This is a workaround for MyriMatch on Linux - error “locale::facet::_S_create_c_locale name not valid”, can be fixed by running “export LC_ALL=C” before running SearchGUI/MyriMatch.
Should this be commented in the easyconfig?
| } | ||
|
|
||
| modaliases = { | ||
| 'SearchCLI': 'java -cp $EBROOTSEARCHGUI/SearchGUI-%(version)s.jar eu.isas.searchgui.cmd.SearchCLI', |
There was a problem hiding this comment.
@korbini These aliases are indeed useful, but you should include a comment here to clarify that these are the official command lines, i.e. refer to https://compomics.github.io/projects/searchgui/wiki/searchcli.html
| } | ||
|
|
||
| # workaround fixing MyriMatch on Linux - error "locale::facet::_S_create_c_locale name not valid" | ||
| modextravars = {'LC_ALL': 'C'} |
There was a problem hiding this comment.
@korbini This looks like a site-specific fix to me, which means it shouldn't be included in the easyconfig...
How did you trigger the error (so we can test this ourselves to see if we can reproduce it without setting $LC_ALL to C)?
|
Test report by @boegel |
|
Test report by @boegel |
|
Test report by @boegel |
|
Going in, thanks @korbini! |
new easyconfig