Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/chilife/MolSys.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,9 @@ def __init__(

# Atoms creation is required to be last
self.atoms = AtomSelection(self, self.mask, self._bond_mask)
self.topology = Topology(self, bonds, bond_types) if bonds is not None else None
self.topology = (
Topology(self, self._bonds, self._bond_types) if bonds is not None else None
)

@classmethod
def from_pdb(cls, file_name, sort_atoms=False, **kwargs):
Expand Down
23 changes: 19 additions & 4 deletions src/chilife/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
import logging

logging.getLogger("MDAnalysis").setLevel(logging.ERROR)

from .chilife import (distance_distribution, confidence_interval, create_library, create_dlibrary, add_rotlib_dir,
remove_rotlib_dir, add_library, remove_library, add_dihedral_def, add_to_defaults,
remove_from_defaults, list_available_rotlibs, rotlib_info, repack, add_to_toml)
from .chilife import (
distance_distribution,
confidence_interval,
create_library,
create_dlibrary,
add_rotlib_dir,
remove_rotlib_dir,
add_library,
remove_library,
add_dihedral_def,
add_to_defaults,
remove_from_defaults,
list_available_rotlibs,
rotlib_info,
repack,
add_to_toml,
)
from .globals import *
from .io import *
from .alignment_methods import parse_backbone, global_mx, local_mx
Expand All @@ -29,4 +44,4 @@
# SpinLabel = SpinLabel.SpinLabel
# dSpinLabel = dSpinLabel.dSpinLabel

__version__ = '1.2.0'
__version__ = "1.2.1"
Loading