You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* include backbone vector in create_molecule
* include backbone vector in create molecule
* Test for backbone vector in create_molecule()
* backbone_vector added in the docstring and node_map/chain_map removed from setup_df
* Add somesh to the list of authors, update changelog, include backbone_vector to pmb.create_pmb_objetct
---------
Co-authored-by: pm-blanco <pablb@ntnu.no>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
- Switched to Ctest for testing, allowing to run the tests on paralel (#87)
18
18
19
19
### Added
20
+
- New optional argument `backbone_vector` enabling to build molecules along an input vector using `pmb.create_molecule` and `pmb.create_pmb_object` (#99)
21
+
- Unit testing for reaction methods (#86)
20
22
- New boolean flag `--ideal` as argparse argument of `samples/globular_protein.py` enabling to run the script without setting up interactions.
21
23
- Unit tests for `pmb.create_protein`, `pmb.enable_motion_of_rigid_object`, `pmb.protein_sequence_parser`, `pmb.define_protein`, `pmb.read_protein_vtf_in_df` (#101)
22
24
- Library `lattice.py`, a general builder for crystaline lattices. This library is part of on-going project to support hydrogels in pyMBE. (#93)
Creates `number_of_molecules` molecule of type `name` into `espresso_system` and bookkeeps them into `pmb.df`.
879
879
880
880
Args:
881
881
name(`str`): Label of the molecule type to be created. `name` must be defined in `pmb.df`
882
882
espresso_system(`espressomd.system.System`): Instance of a system object from espressomd library.
883
883
number_of_molecules(`int`): Number of molecules of type `name` to be created.
884
-
list_of_first_residue_positions(`list`, optional): List of coordinates where the central bead of the first_residue_position will be created, random by default
884
+
list_of_first_residue_positions(`list`, optional): List of coordinates where the central bead of the first_residue_position will be created, random by default.
885
+
backbone_vector(`list` of `float`): Backbone vector of the molecule, random by default. Central beads of the residues in the `residue_list` are placed along this vector.
885
886
use_default_bond(`bool`, optional): Controls if a bond of type `default` is used to bond particle with undefined bonds in `pymbe.df`
espresso_system(`espressomd.system.System`): Instance of an espresso system object from espressomd library.
1050
1052
position(`list`): Coordinates where the particles should be created.
1051
1053
use_default_bond(`bool`,optional): Controls if a `default` bond is used to bond particles with undefined bonds in `pmb.df`. Defaults to `False`.
1054
+
backbone_vector(`list` of `float`): Backbone vector of the molecule, random by default. Central beads of the residues in the `residue_list` are placed along this vector.
1052
1055
1053
1056
Note:
1054
1057
- If no `position` is given, particles will be created in random positions. For bonded particles, they will be created at a distance equal to the bond length.
0 commit comments