Error message upon loading PDB file - NEW
Molecular dynamics by NMR data analysis
Brought to you by:
edauvergne,
troelslinnet
Note that the messages from the relax GUI if you update from 4.1.0 to 4.1.1 are a little different, and more informative. There was a bug fixed in 4.1.1 causing the GUI to not display all content. I can reproduce the issue and I see:
The issue here is that the molecule name cannot contain the '#' character, however this is not caught. The '#' character has a special meaning as the molecule name is used directly for the spin ID strings. From the 'Spin ID string' section of http://www.nmr-relax.com/manual/Molecule_residue_and_spin_containers.html:
This means that we need to check the molecule name for invalid '#' characters before loading the PDB file, and raise an appropriate RelaxError message explaining the issue. I can create a system test for catching that.
This probably also means that we should validate residue names too to avoid ':', as well as atom names to avoid '@'.
Last edit: Edward d'Auvergne 2019-03-13
Note that you can simply name your molecule differently via the structure.read_pdb user function.
Edward, thank you, I think I overcame this hurdle and loaded the spins and the heteronuclear NOE Dynamics Center file with no problem.
However, when I try to repeat the procedure using the T1 DC file, the software (4.1.1) hangs up. In particular, a clock icon appears, in place of the arrow, upon me clicking on the “next” button, and nothing else happens.
As a follow up, IMHO it is not clear, in the GUI, when one has to click on “apply” or “next”. For example, upon loading the spins from the PDB file, after selecting the “load spin from PDB option” and indicating the filename of the PDB file (without the # symbol, thanks), if I click on “apply” and then on “next”, I load the same molecule twice. Maybe it would be more logical to have the “apply” button only when it is needed (for example upon loading the different types of nuclei, @N and @H, for example) but hide it or make it inactive when only the “next” option should be used.
Best,
Stefano
On 13 Mar 2019, at 09:55, Edward d'Auvergne edauvergne@users.sourceforge.netamp#101;amp#100;amp#97;amp#117;amp#118;amp#101;amp#114;amp#103;amp#110;amp#101;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#111;amp#117;amp#114;amp#99;amp#101;amp#102;amp#111;amp#114;amp#103;amp#101;amp#46;amp#110;amp#101;amp#116; wrote:
Note that you can simply name your molecule differently via the structure.read_pdb user function.
[tickets:#12]https://sourceforge.net/p/nmr-relax/tickets/12/ Error message upon loading PDB file - NEW
Status: open
Created: Fri Mar 08, 2019 02:59 PM UTC by Stefano Ciurli
Last Updated: Wed Mar 13, 2019 08:55 AM UTC
Owner: Edward d'Auvergne
Attachments:
Hello, it seems that the problem of loading the spins from a PDB file has not been fully resolved. Please help.
SC
Sent from sourceforge.nethttp://sourceforge.net because you indicated interest in https://sourceforge.net/p/nmr-relax/tickets/12/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Bugs:
#12This was fixed in commit ad9499. The fix was to catch the invalid '#' character in the molecule name and to raise a RelaxError explaining the issue.