#23 ✓resolved
john.mccallum (at plantandfood)

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

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.

New-ticket Create new ticket

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

Shared Ticket Bins

People watching this ticket

Pages