Skip to content

chimera easyblock#524

Merged
boegel merged 5 commits intoeasybuilders:developfrom
pescobar:Chimera
Dec 15, 2014
Merged

chimera easyblock#524
boegel merged 5 commits intoeasybuilders:developfrom
pescobar:Chimera

Conversation

@pescobar
Copy link
Copy Markdown
Member

No description provided.

@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

Comment thread easybuild/easyblocks/c/chimera.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docstring please; suggestion:

"""Custom extraction of sources for Chimera: unpack installation file to obtain chimera.bin installer."""

@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

Comment thread easybuild/easyblocks/c/chimera.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please import from tools.run instead, once #523 is merged in, this will trip a failing unit test...

see also http://boegel-eb.readthedocs.org/en/deprecated/Deprecated-functionality.html#renamed-relocated-functions (pending documentation update, cfr. easybuilders/easybuild#54)

@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

Comment thread easybuild/easyblocks/c/chimera.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

another tiny remark... it's better to do the cd part in Python code:

try:
    os.chdir(self.cfg['start_dir'])
except OSError, err:
    self.log.error("Failed to change to %s: %s" % (self.cfg['start_dir'], err))

cmd = "./chimera.bin -q -d %s" % self.installdir
run_cmd(cmd, log_all=True, simple=True)

@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

Comment thread easybuild/easyblocks/c/chimera.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, this should be cmd :)

@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

@boegel
Copy link
Copy Markdown
Member

boegel commented Dec 15, 2014

Looking great now, going in, easybuilders/easybuild-easyconfigs#1255 will follow

Thanks @pescobar!

boegel added a commit that referenced this pull request Dec 15, 2014
@boegel boegel merged commit 7022026 into easybuilders:develop Dec 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants