Print

Print


We see this too and filed bug 3062790.

I think (hope) its a simple fix in the formatConverter code to include a 
definition for what a setJCouplingConstraintFileConstraints looks like.

On Fri, 17 Sep 2010, Timothy Ragan wrote:

> I'm trying to include some HNHA data in an Aria2 run.  If I include the
> J coupling constraints Aria throws the following exception and quits:
>
> Traceback (most recent call last):
>  File "/dms/prog/src/aria2.3/aria2.py", line 903, in ?
>    verbose_level, use_condor=condor)
>  File "/dms/prog/src/aria2.3/aria2.py", line 811, in run_aria
>    project.load_and_preprocess_data()
>  File "/dms/prog/src/aria2.3/src/py/aria/Project.py", line 1426, in
> load_and_preprocess_data
>    self.read_data()
>  File "/dms/prog/src/aria2.3/src/py/aria/Project.py", line 1186, in
> read_data
>    self.read_ccpn_data()
>  File "/dms/prog/src/aria2.3/src/py/aria/Project.py", line 865, in
> read_ccpn_data
>    data_dir, cType)
>  File "/dms/prog/src/aria2.3/src/py/aria/importFromCcpn.py", line 1188,
> in dumpRestraintsList
>    f[cType](dst, constraintList=constraintList,**kw)
>  File
> "/dms/prog/src/ccpnmr2.1/ccpnmr/ccpnmr2.1/python/ccpnmr/format/converters/DataFormat.py",
> line 3223, in writeJCouplingConstraints
>    return self.writeConstraints(*args, **keywds)
>  File
> "/dms/prog/src/ccpnmr2.1/ccpnmr/ccpnmr2.1/python/ccpnmr/format/converters/DataFormat.py",
> line 3313, in writeConstraints
>    self.setConstraintFileConstraints =
> getattr(self,"set%sConstraintFileConstraints" % self.constraintApiCode)
> AttributeError: CnsFormat instance has no attribute
> 'setJCouplingConstraintFileConstraints'
>
>

-- 
Dr. Brian O. Smith ---------------------- Brian Smith at glasgow ac uk
School of Life Sciences, College of Medical, Vetinary & Life Sciences,
   Joseph Black Building, University of Glasgow, Glasgow G12 8QQ, UK.
Tel: 0141 330 5167/6459/3089                        Fax: 0141 330 4600
----------------------------------------------------------------------
The University of Glasgow, charity number SC004401