Menu

SVN archive Commit Log


Commit Date  
[r26385] by bugman

Merged revisions 26379 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26379 | bugman | 2014-10-23 14:17:31 +0200 (Thu, 23 Oct 2014) | 8 lines

The mol_name argument is now exposed in the structure.add_atom user function.

This has been added as the first argument of the user function to allow new molecules to be created
or to allow the atom to be placed into a specific molecule container. The functionality was already
implemented in the backend, so it has been exposed by simply adding a new argument definition to the
user function.
........

2014-10-23 13:05:19 Tree
[r26384] by bugman

Merged revisions 26379 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26379 | bugman | 2014-10-23 14:17:31 +0200 (Thu, 23 Oct 2014) | 8 lines

The mol_name argument is now exposed in the structure.add_atom user function.

This has been added as the first argument of the user function to allow new molecules to be created
or to allow the atom to be placed into a specific molecule container. The functionality was already
implemented in the backend, so it has been exposed by simply adding a new argument definition to the
user function.
........

2014-10-23 13:05:15 Tree
[r26383] by bugman

Fix for the structure.delete user function for molecule metadata once no more data exists.

This relates to bug #22861 (https://gna.org/bugs/?22861), the chain IDs in the structure.write_pdb
user function PDB files are incorrect after calling structure.delete.

The metadata, when it exists, is now deleted for the molecule once no more data is present.

2014-10-23 12:56:54 Tree
[r26382] by bugman

Small modification of the Structure.test_bug_22861_PDB_writing_chainID_fail system test.

File metadata is now being set to demonstrate that the structure.delete user function does not
remove this once there is no more data left for the molecule.

2014-10-23 12:55:09 Tree
[r26381] by bugman

The structure.write_pdb user function can now handle empty molecules.

This fixes bug #22861 (https://gna.org/bugs/?22861), the chain IDs in the structure.write_pdb user
function PDB files are incorrect after calling structure.delete.

To handle this consistently, the internal structural object ModelContainer.mol_loop() generator
method has been created. This loops over the molecules, yielding those that are not empty. The
MolContainer.is_empty() method has been fixed by not checking for the molecule name, as that remains
after the structure.delete user function call while all other information has been removed. And
finally the write_pdb() structural object method has been modified to use the mol_loop() method
rather than performing the loop itself.

2014-10-23 12:45:25 Tree
[r26380] by bugman

Created the Structure.test_bug_22861_PDB_writing_chainID_fail system test.

This is to catch bug #22861 (https://gna.org/bugs/?22861), the chain IDs in the structure.write_pdb
user function PDB files are incorrect after calling structure.delete.

2014-10-23 12:27:05 Tree
[r26379] by bugman

The mol_name argument is now exposed in the structure.add_atom user function.

This has been added as the first argument of the user function to allow new molecules to be created
or to allow the atom to be placed into a specific molecule container. The functionality was already
implemented in the backend, so it has been exposed by simply adding a new argument definition to the
user function.

2014-10-23 12:17:31 Tree
[r26378] by bugman

Merged revisions 26374 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26374 | bugman | 2014-10-23 12:01:49 +0200 (Thu, 23 Oct 2014) | 7 lines

Fix for the structure.com user function.

This fixes bug #22860 (https://gna.org/bugs/?22860), the failure of the structure.com user function
after calling structure.delete. The number of models in cdp.structure is now counted and if set to
zero, RelaxNoPdbError will be raised.
........

2014-10-23 10:02:58 Tree
[r26377] by bugman

Merged revisions 26374 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26374 | bugman | 2014-10-23 12:01:49 +0200 (Thu, 23 Oct 2014) | 7 lines

Fix for the structure.com user function.

This fixes bug #22860 (https://gna.org/bugs/?22860), the failure of the structure.com user function
after calling structure.delete. The number of models in cdp.structure is now counted and if set to
zero, RelaxNoPdbError will be raised.
........

2014-10-23 10:02:56 Tree
[r26376] by bugman

Merged revisions 26373 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r26373 | bugman | 2014-10-23 12:00:29 +0200 (Thu, 23 Oct 2014) | 6 lines

Modified the Structure.test_bug_22860_CoM_after_deletion system test to expect a RelaxNoPdbError.

This tests that the structure.com user function raises RelaxNoPdbError after deleting all of the
structural information from the current data pipe.
........

2014-10-23 10:02:35 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.