Dumb response to dumb inputs
Reported by john.mccallum (at plantandfood) | May 11th, 2011 @ 04:25 AM | in v1.1
suggestion for the clumsy
I would suggest you trap this error and give a gracious message
`[Cfljam@pgenome 40.LFS_otherBACS]$ mkdir stupid [Cfljam@pgenome
40.LFS_otherBACS]$ cd stupid/ [Cfljam@pgenome stupid]$ moa new
stupid -t 'jeez Im thick' Warning: Encountered a run error?
Traceback (most recent call last):
File "/opt/moa10/bin/moa", line 318, in
run_1()
File "/opt/moa10/bin/moa", line 292, in run_1
run_2()
File "/opt/moa10/bin/moa", line 246, in run_2
run_3(wd)
File "/opt/moa10/bin/moa", line 191, in run_3
pluginHandler.runCallback(job, command)
File "/opt/moa10/lib/python/moa/plugin/init.py", line 85, in runCallback
commandInfo['call'](job)
File "/opt/moa10/lib/python/moa/plugin/newjob.py", line 89, in newJob
provider=provider)
File "/opt/moa10/lib/python/moa/job.py", line 52, in newJob
job.setTemplate(template, provider=provider)
File "/opt/moa10/lib/python/moa/job.py", line 322, in setTemplate
moa.template.installTemplate(self.wd, name, provider = provider)
File "/opt/moa10/lib/python/moa/template/init.py", line 58, in installTemplate
PROVIDERS.installTemplate(wd, tName, provider)
File "/opt/moa10/lib/python/moa/template/provider/init.py", line 96, in installTemplate
p.installTemplate(wd, tName)
AttributeError: 'NoneType' object has no attribute
'installTemplate'
[Cfljam@pgenome stupid]$ `
Comments and changes to this ticket
-
MF May 12th, 2011 @ 09:22 AM
- no changes were found...
-
MF May 12th, 2011 @ 09:23 AM
- no changes were found...
-
MF November 29th, 2012 @ 11:02 PM
(from [82743f4fb5f5acc16daca9aa0ff744dea2d0a551]) Sort dirs so that the subdirs are executed in alphanumerical order. Fixes #23. https://github.com/mfiers/Moa/commit/82743f4fb5f5acc16daca9aa0ff744...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
lightweight workflows for bioinformatics