URL:
<http://gna.org/bugs/?20335>
Summary: The rdc.delete and pcs.delete user functions are
non-functional.
Project: relax
Submitted by: bugman
Submitted on: Fri 30 Nov 2012 11:54:08 AM GMT
Category: relax's source code
Severity: 2 - Minor
Priority: 3 - Low
Status: None
Privacy: Public
Assigned to: bugman
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 2.1.2
Operating System: All systems
_______________________________________________________
Details:
These user functions are not tested in the test suite, so have suffered
bit-rot! Attempting to execute these user functions produces an error such
as:
relax> rdc.delete(align_id=None)
Traceback (most recent call last):
File "/data/edau/relax/relax-trunk/multi/processor.py", line 479, in run
self.callback.init_master(self)
File "/data/edau/relax/relax-trunk/multi/__init__.py", line 318, in
default_init_master
self.master.run()
File "/data/edau/relax/relax-trunk/relax.py", line 184, in run
self.interpreter.run(self.script_file)
File "/data/edau/relax/relax-trunk/prompt/interpreter.py", line 278, in run
return run_script(intro=self.__intro_string, local=locals(),
script_file=script_file, quit=self.__quit_flag,
show_script=self.__show_script, raise_relax_error=self.__raise_relax_error)
File "/data/edau/relax/relax-trunk/prompt/interpreter.py", line 585, in
run_script
return console.interact(intro, local, script_file, quit,
show_script=show_script, raise_relax_error=raise_relax_error)
File "/data/edau/relax/relax-trunk/prompt/interpreter.py", line 468, in
interact_script
exec_script(script_file, local)
File "/data/edau/relax/relax-trunk/prompt/interpreter.py", line 341, in
exec_script
runpy.run_module(module, globals)
File "/usr/lib64/python2.6/runpy.py", line 140, in run_module
fname, loader, pkg_name)
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/data/edau/long_range_rdcs/cross_predict/predict_long_range.py", line
62, in <module>
rdc.delete()
File "/data/edau/relax/relax-trunk/prompt/uf_objects.py", line 219, in
__call__
self._backend(*new_args, **uf_kargs)
File "/data/edau/relax/relax-trunk/generic_fns/rdc.py", line 374, in delete
cdp.align_ids.pop(id)
TypeError: an integer is required
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20335>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-devel mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel