duello 0.1.0__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.
- duello-0.1.0/.cargo/config.toml +2 -0
- duello-0.1.0/.github/dependabot.yml +11 -0
- duello-0.1.0/.github/workflows/rust.yml +26 -0
- duello-0.1.0/.gitignore +31 -0
- duello-0.1.0/.vscode/extensions.json +3 -0
- duello-0.1.0/.vscode/launch.json +21 -0
- duello-0.1.0/.vscode/settings.json +100 -0
- duello-0.1.0/.zed/settings.json +17 -0
- duello-0.1.0/.zenodo.json +30 -0
- duello-0.1.0/Cargo.lock +2486 -0
- duello-0.1.0/Cargo.toml +52 -0
- duello-0.1.0/LICENSE +201 -0
- duello-0.1.0/PKG-INFO +184 -0
- duello-0.1.0/README.md +169 -0
- duello-0.1.0/assets/atoms.yml +207 -0
- duello-0.1.0/assets/convert-calvados3.ipynb +142 -0
- duello-0.1.0/assets/duello-logo.png +0 -0
- duello-0.1.0/assets/illustration.png +0 -0
- duello-0.1.0/examples/calvados3/4lzt.xyz +130 -0
- duello-0.1.0/examples/calvados3/calvados3.yaml +24 -0
- duello-0.1.0/examples/calvados3/topology.yaml +8 -0
- duello-0.1.0/examples/cppm/cppm-p00.xyz +69 -0
- duello-0.1.0/examples/cppm/cppm-p18.xyz +69 -0
- duello-0.1.0/examples/cppm/topology.yaml +25 -0
- duello-0.1.0/examples/cppm/virial-integration.ipynb +484 -0
- duello-0.1.0/examples/lazy_static.rs +25 -0
- duello-0.1.0/examples/lookup.rs +72 -0
- duello-0.1.0/examples/notebook/interpolation-error.ipynb +256 -0
- duello-0.1.0/examples/notebook/plot_potential.py +40 -0
- duello-0.1.0/pdb2xyz/.python-version +1 -0
- duello-0.1.0/pdb2xyz/README.md +0 -0
- duello-0.1.0/pdb2xyz/main.py +222 -0
- duello-0.1.0/pdb2xyz/pyproject.toml +7 -0
- duello-0.1.0/pyproject.toml +18 -0
- duello-0.1.0/scripts/calvados3.sh +15 -0
- duello-0.1.0/scripts/colab.ipynb +1 -0
- duello-0.1.0/scripts/cppm.sh +17 -0
- duello-0.1.0/src/energy.rs +112 -0
- duello-0.1.0/src/fibonacci.rs +49 -0
- duello-0.1.0/src/icoscan.rs +205 -0
- duello-0.1.0/src/icosphere.rs +210 -0
- duello-0.1.0/src/icotable.rs +619 -0
- duello-0.1.0/src/lib.rs +64 -0
- duello-0.1.0/src/main.rs +426 -0
- duello-0.1.0/src/report.rs +104 -0
- duello-0.1.0/src/sample.rs +132 -0
- duello-0.1.0/src/spherical.rs +126 -0
- duello-0.1.0/src/structure.rs +374 -0
- duello-0.1.0/src/table.rs +188 -0
- duello-0.1.0/src/vertex.rs +61 -0
- duello-0.1.0/src/virial.rs +172 -0
- duello-0.1.0/uv.lock +256 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
|
3
|
+
# Please see the documentation for all configuration options:
|
|
4
|
+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
|
5
|
+
|
|
6
|
+
version: 2
|
|
7
|
+
updates:
|
|
8
|
+
- package-ecosystem: "cargo" # See documentation for possible values
|
|
9
|
+
directory: "/" # Location of package manifests
|
|
10
|
+
schedule:
|
|
11
|
+
interval: "monthly"
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: Rust
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "main" ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ "main" ]
|
|
8
|
+
|
|
9
|
+
env:
|
|
10
|
+
CARGO_TERM_COLOR: always
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- name: Build
|
|
20
|
+
run: cargo build --verbose
|
|
21
|
+
- name: Run tests
|
|
22
|
+
run: cargo test --verbose
|
|
23
|
+
- name: Run clippy
|
|
24
|
+
run: cargo clippy --no-deps
|
|
25
|
+
- name: Run clippy on tests
|
|
26
|
+
run: cargo clippy --tests --no-deps
|
duello-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Generated by Cargo
|
|
2
|
+
# will have compiled files and executables
|
|
3
|
+
debug/
|
|
4
|
+
target/
|
|
5
|
+
*.vmd
|
|
6
|
+
*.json
|
|
7
|
+
log
|
|
8
|
+
*.tga
|
|
9
|
+
|
|
10
|
+
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
|
|
11
|
+
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
|
|
12
|
+
Cargo.lock
|
|
13
|
+
|
|
14
|
+
# These are backup files generated by rustfmt
|
|
15
|
+
**/*.rs.bk
|
|
16
|
+
|
|
17
|
+
*.pdb
|
|
18
|
+
*.xtc
|
|
19
|
+
*.pdf
|
|
20
|
+
potential.pqr
|
|
21
|
+
potential_angles.pqr
|
|
22
|
+
|
|
23
|
+
*~
|
|
24
|
+
*.dat
|
|
25
|
+
*.dat.gz
|
|
26
|
+
*.xyz
|
|
27
|
+
scene.vmd
|
|
28
|
+
output.*
|
|
29
|
+
.DS_Store
|
|
30
|
+
.mypy*
|
|
31
|
+
.ipynb_checkpoints
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
// Use IntelliSense to learn about possible attributes.
|
|
3
|
+
// Hover to view descriptions of existing attributes.
|
|
4
|
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
5
|
+
"version": "0.2.0",
|
|
6
|
+
"configurations": [
|
|
7
|
+
{
|
|
8
|
+
"type": "lldb",
|
|
9
|
+
"request": "launch",
|
|
10
|
+
"name": "Cargo test",
|
|
11
|
+
"cargo": {
|
|
12
|
+
"args": [
|
|
13
|
+
"test",
|
|
14
|
+
"--no-run",
|
|
15
|
+
"--lib"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"args": []
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rust-analyzer.diagnostics.disabled": [
|
|
3
|
+
"unresolved-proc-macro"
|
|
4
|
+
],
|
|
5
|
+
"rust-analyzer.checkOnSave.command": "check",
|
|
6
|
+
"editor.formatOnSave": true,
|
|
7
|
+
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
|
8
|
+
"rust-analyzer.rustfmt.extraArgs": [
|
|
9
|
+
"+stable"
|
|
10
|
+
],
|
|
11
|
+
"file_scan_exclusions": [
|
|
12
|
+
"**/.git",
|
|
13
|
+
"**/.svn",
|
|
14
|
+
"**/.hg",
|
|
15
|
+
"**/CVS",
|
|
16
|
+
"**/.DS_Store",
|
|
17
|
+
"**/Thumbs.db",
|
|
18
|
+
"**/.classpath",
|
|
19
|
+
"**/.settings",
|
|
20
|
+
"**/~"
|
|
21
|
+
],
|
|
22
|
+
"files.associations": {
|
|
23
|
+
"__bit_reference": "cpp",
|
|
24
|
+
"__bits": "cpp",
|
|
25
|
+
"__config": "cpp",
|
|
26
|
+
"__debug": "cpp",
|
|
27
|
+
"__locale": "cpp",
|
|
28
|
+
"__split_buffer": "cpp",
|
|
29
|
+
"__string": "cpp",
|
|
30
|
+
"__tuple": "cpp",
|
|
31
|
+
"array": "cpp",
|
|
32
|
+
"atomic": "cpp",
|
|
33
|
+
"bit": "cpp",
|
|
34
|
+
"bitset": "cpp",
|
|
35
|
+
"cctype": "cpp",
|
|
36
|
+
"chrono": "cpp",
|
|
37
|
+
"cmath": "cpp",
|
|
38
|
+
"compare": "cpp",
|
|
39
|
+
"cstddef": "cpp",
|
|
40
|
+
"cstdint": "cpp",
|
|
41
|
+
"cstdio": "cpp",
|
|
42
|
+
"cstdlib": "cpp",
|
|
43
|
+
"cstring": "cpp",
|
|
44
|
+
"cwchar": "cpp",
|
|
45
|
+
"cwctype": "cpp",
|
|
46
|
+
"exception": "cpp",
|
|
47
|
+
"initializer_list": "cpp",
|
|
48
|
+
"ios": "cpp",
|
|
49
|
+
"iosfwd": "cpp",
|
|
50
|
+
"iostream": "cpp",
|
|
51
|
+
"istream": "cpp",
|
|
52
|
+
"limits": "cpp",
|
|
53
|
+
"locale": "cpp",
|
|
54
|
+
"memory": "cpp",
|
|
55
|
+
"new": "cpp",
|
|
56
|
+
"ostream": "cpp",
|
|
57
|
+
"stdexcept": "cpp",
|
|
58
|
+
"streambuf": "cpp",
|
|
59
|
+
"string": "cpp",
|
|
60
|
+
"string_view": "cpp",
|
|
61
|
+
"system_error": "cpp",
|
|
62
|
+
"tuple": "cpp",
|
|
63
|
+
"type_traits": "cpp",
|
|
64
|
+
"typeinfo": "cpp",
|
|
65
|
+
"unordered_map": "cpp",
|
|
66
|
+
"vector": "cpp",
|
|
67
|
+
"algorithm": "cpp",
|
|
68
|
+
"__errc": "cpp",
|
|
69
|
+
"__hash_table": "cpp",
|
|
70
|
+
"__mutex_base": "cpp",
|
|
71
|
+
"__node_handle": "cpp",
|
|
72
|
+
"__threading_support": "cpp",
|
|
73
|
+
"__verbose_abort": "cpp",
|
|
74
|
+
"clocale": "cpp",
|
|
75
|
+
"cstdarg": "cpp",
|
|
76
|
+
"ctime": "cpp",
|
|
77
|
+
"mutex": "cpp",
|
|
78
|
+
"optional": "cpp",
|
|
79
|
+
"ratio": "cpp",
|
|
80
|
+
"variant": "cpp",
|
|
81
|
+
"*.tcc": "cpp",
|
|
82
|
+
"concepts": "cpp",
|
|
83
|
+
"functional": "cpp",
|
|
84
|
+
"iterator": "cpp",
|
|
85
|
+
"memory_resource": "cpp",
|
|
86
|
+
"random": "cpp",
|
|
87
|
+
"utility": "cpp"
|
|
88
|
+
},
|
|
89
|
+
"rust-analyzer.showUnlinkedFileNotification": false,
|
|
90
|
+
"rust-analyzer.cargo.noDefaultFeatures": false,
|
|
91
|
+
"rust-analyzer.checkOnSave": true,
|
|
92
|
+
"editor.tabCompletion": "on",
|
|
93
|
+
"python.languageServer": "Pylance", // or "Default"
|
|
94
|
+
"python.autoComplete.addBrackets": true,
|
|
95
|
+
"editor.quickSuggestions": {
|
|
96
|
+
"other": true,
|
|
97
|
+
"comments": false,
|
|
98
|
+
"strings": true
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Folder-specific settings
|
|
2
|
+
//
|
|
3
|
+
// For a full list of overridable settings, and general information on folder-specific settings,
|
|
4
|
+
// see the documentation: https://zed.dev/docs/configuring-zed#folder-specific-settings
|
|
5
|
+
{
|
|
6
|
+
"file_scan_exclusions": [
|
|
7
|
+
"**/*~",
|
|
8
|
+
"**/.git",
|
|
9
|
+
"**/.svn",
|
|
10
|
+
"**/.hg",
|
|
11
|
+
"**/CVS",
|
|
12
|
+
"**/.DS_Store",
|
|
13
|
+
"**/Thumbs.db",
|
|
14
|
+
"**/.classpath",
|
|
15
|
+
"**/.settings"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Duello - Virial Coefficient and Dissociation Constant Estimation for Rigid Macromolecules",
|
|
3
|
+
"description": "Duello is a tool to evaluate the two-body partition function between rigid bodies, performing a statistical mechanical average over inter-molecular orientations using subdivided icosahedrons. The osmotic second virial coefficient; binary dissociation constant; and the potential of mean force is calculated.",
|
|
4
|
+
"creators": [
|
|
5
|
+
{
|
|
6
|
+
"name": "Mikael Lund",
|
|
7
|
+
"affiliation": "Division of Theoretical Chemistry, Department of Chemistry, Lund University, Sweden",
|
|
8
|
+
"orcid": "0000-0001-8178-8175"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"contributors": [
|
|
12
|
+
{"type": "Researcher", "name": "Isabel Vinterbladh", "orcid": "0009-0007-0801-2611"}
|
|
13
|
+
],
|
|
14
|
+
"keywords": [
|
|
15
|
+
"statistical thermodynamics",
|
|
16
|
+
"virial coefficient",
|
|
17
|
+
"intermolecular interactions",
|
|
18
|
+
"molecular simulation",
|
|
19
|
+
"docking"
|
|
20
|
+
],
|
|
21
|
+
"related_identifiers": [
|
|
22
|
+
{
|
|
23
|
+
"scheme": "url",
|
|
24
|
+
"identifier": "https://github.com/mlund/duello",
|
|
25
|
+
"relation": "isSupplementTo"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"access_right": "open",
|
|
29
|
+
"upload_type": "software"
|
|
30
|
+
}
|