molutils 0.7.0__tar.gz → 0.7.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {molutils-0.7.0 → molutils-0.7.1}/PKG-INFO +2 -2
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_core/count.py +5 -5
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_core/list_.py +2 -2
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_core/remove.py +1 -1
- molutils-0.7.1/molutils/_version.py +1 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils.egg-info/PKG-INFO +2 -2
- {molutils-0.7.0 → molutils-0.7.1}/molutils.egg-info/requires.txt +1 -1
- {molutils-0.7.0 → molutils-0.7.1}/setup.py +1 -1
- molutils-0.7.0/molutils/_version.py +0 -1
- {molutils-0.7.0 → molutils-0.7.1}/LICENSE.md +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/README.md +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/__init__.py +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/__main__.py +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_core/__init__.py +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_core/extract.py +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_core/traj.py +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_ui/__init__.py +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_ui/app_main.py +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_ui/app_subcommand.py +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_ui/fy_help.fyh +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_ui/fy_rules.fyr +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_utils/__init__.py +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils/_utils/mda_utils.py +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils.egg-info/SOURCES.txt +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils.egg-info/dependency_links.txt +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils.egg-info/entry_points.txt +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/molutils.egg-info/top_level.txt +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/pyproject.toml +0 -0
- {molutils-0.7.0 → molutils-0.7.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: molutils
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: Collection of tools for preprocessing or summarizing details from biomolecular structure files.
|
|
5
5
|
Home-page: https://github.com/diegobarmor/molutils
|
|
6
6
|
Author: DiegoBarMor
|
|
@@ -13,7 +13,7 @@ Requires-Python: >=3.10
|
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE.md
|
|
15
15
|
Requires-Dist: molsimple==0.1.2
|
|
16
|
-
Requires-Dist: freyacli==0.5.
|
|
16
|
+
Requires-Dist: freyacli==0.5.1
|
|
17
17
|
Dynamic: author
|
|
18
18
|
Dynamic: author-email
|
|
19
19
|
Dynamic: classifier
|
|
@@ -60,25 +60,25 @@ class Count(mu.AppSubcommand):
|
|
|
60
60
|
|
|
61
61
|
# -------------------------------------------------------------------------- LOGIC SECTION
|
|
62
62
|
@classmethod
|
|
63
|
-
def models(cls, system: ms.System) -> int:
|
|
63
|
+
def models(cls, system: "ms.System") -> int:
|
|
64
64
|
return len(system.models)
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
# --------------------------------------------------------------------------
|
|
68
68
|
@classmethod
|
|
69
|
-
def chains(cls, system: ms.System) -> int:
|
|
69
|
+
def chains(cls, system: "ms.System") -> int:
|
|
70
70
|
return len(mu.List.chains(system, do_sort = False))
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
# --------------------------------------------------------------------------
|
|
74
74
|
@classmethod
|
|
75
|
-
def residues(cls, system: ms.System) -> int:
|
|
75
|
+
def residues(cls, system: "ms.System") -> int:
|
|
76
76
|
return len(mu.List.residues(system, do_sort = False))
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
# --------------------------------------------------------------------------
|
|
80
80
|
@classmethod
|
|
81
|
-
def particles(cls, system: ms.System) -> int:
|
|
81
|
+
def particles(cls, system: "ms.System") -> int:
|
|
82
82
|
return len(system.particles)
|
|
83
83
|
|
|
84
84
|
|
|
@@ -98,7 +98,7 @@ class Count(mu.AppSubcommand):
|
|
|
98
98
|
|
|
99
99
|
# --------------------------------------------------------------------------
|
|
100
100
|
@classmethod
|
|
101
|
-
def altlocs(cls, system: ms.System) -> int:
|
|
101
|
+
def altlocs(cls, system: "ms.System") -> int:
|
|
102
102
|
parts_with_altloc: set[tuple[str, str]] = set()
|
|
103
103
|
|
|
104
104
|
for particle in system.particles:
|
|
@@ -28,7 +28,7 @@ class List(mu.AppSubcommand):
|
|
|
28
28
|
|
|
29
29
|
# -------------------------------------------------------------------------- LOGIC SECTION
|
|
30
30
|
@classmethod
|
|
31
|
-
def chains(cls, system: ms.System, do_sort: bool = True) -> list[str]:
|
|
31
|
+
def chains(cls, system: "ms.System", do_sort: bool = True) -> list[str]:
|
|
32
32
|
unique_chains = set(system.particles.get_chainids())
|
|
33
33
|
if do_sort: return sorted(unique_chains)
|
|
34
34
|
return list(unique_chains)
|
|
@@ -36,7 +36,7 @@ class List(mu.AppSubcommand):
|
|
|
36
36
|
|
|
37
37
|
# --------------------------------------------------------------------------
|
|
38
38
|
@classmethod
|
|
39
|
-
def residues(cls, system: ms.System, do_sort: bool = True) -> list[str]:
|
|
39
|
+
def residues(cls, system: "ms.System", do_sort: bool = True) -> list[str]:
|
|
40
40
|
"""Returns a list of unique residue identifiers in the format "chainid.resid"."""
|
|
41
41
|
unique_residues = set(part.get_chain_resid().get_dotstr() for part in system)
|
|
42
42
|
if do_sort: return sorted(unique_residues)
|
|
@@ -24,7 +24,7 @@ class Remove(mu.AppSubcommand):
|
|
|
24
24
|
|
|
25
25
|
# --------------------------------------------------------------------------
|
|
26
26
|
@classmethod
|
|
27
|
-
def altlocs(cls, path_pdb: Path) -> ms.ParticleGroup:
|
|
27
|
+
def altlocs(cls, path_pdb: Path) -> "ms.ParticleGroup":
|
|
28
28
|
pdb = ms.System.read_pdb(path_pdb)
|
|
29
29
|
|
|
30
30
|
out: list[ms.Particle] = []
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.7.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: molutils
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: Collection of tools for preprocessing or summarizing details from biomolecular structure files.
|
|
5
5
|
Home-page: https://github.com/diegobarmor/molutils
|
|
6
6
|
Author: DiegoBarMor
|
|
@@ -13,7 +13,7 @@ Requires-Python: >=3.10
|
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE.md
|
|
15
15
|
Requires-Dist: molsimple==0.1.2
|
|
16
|
-
Requires-Dist: freyacli==0.5.
|
|
16
|
+
Requires-Dist: freyacli==0.5.1
|
|
17
17
|
Dynamic: author
|
|
18
18
|
Dynamic: author-email
|
|
19
19
|
Dynamic: classifier
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
molsimple==0.1.2
|
|
2
|
-
freyacli==0.5.
|
|
2
|
+
freyacli==0.5.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.7.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|