AutoSteper
Automated Stepwise Addition Procedure for Extrafullerene.
A detailed description could be found in the article: Exploring exohedral functionalization of fullerene with Automation and Neural Network Potential.
Demonstration of core functions could be found in ./gym.
Documentation could be found at https://autosteper.readthedocs.io/.
Install
For users
Autosteper has an dependency on multiple python packages, namely, the importlib-metadata, ase, numpy, pandas, networkx, tqdm, matplotlib, seaborn, and dpdispatcher. Installation of all of them along with this project has been integrated into a single command line:
pip install autosteper
Besides, Autosteper relies on open source project FullereneDataParser to convert 3D coordinates to graph6str format and properly visualize isomers, pathways, and SWR pairs. FullereneDataParser has not been published on Pypi. According to Pypi policy, the unpublished project could not be used as a dependency for the published package. Therefore, it needs to be installed separately:
pip install git+https://github.com/XJTU-ICP/FullereneDataParser
Note: FullereneDataParser contains part of C++ code, to properly install, an advanced compiler version is required. Simply load the highest available version of compiler will avoid most of the problems. See below.
Finally, the in-house built C++ project usenauty needs to be collected. usenauty is a lightweight tool to enumerate non-isomorphic addition patterns with nauty algorithm which is created by Brendan D. McKay. The original modification is performed in usenauty by XJTU-ICP member Y. B. Han. Here we employ a branch version of it.
Unlike previously mentioned packages, the installation of usenauty is different for Linux and Windows. There are two pre-compiled releases for two platforms, users are encouraged to download the corresponding releases.
For example, linux users could download the gcc-8.4.0 version with command line as below:
wget https://github.com/Franklalalala/usenauty/releases/download/linux/cagesearch
After downloading, users need to assign execution permissions and load a gcc environment:
chmod +x path/to/cagesearch
module load compiler/gcc/8.4.0
Note that, any gcc version above 8.4.0 is technically suitable.
If everything goes well, a gentle notation is expected after executing this binary file:
path/to/cagesearch
The absolute path of this file corresponds to the gen_core_path in the generator module, as demonstrated in test_step.py.
Tips for users from Chinese Mainland
A GitHub Proxy will speed up the installation from github:
pip install git+https://ghproxy.com/https://github.com/XJTU-ICP/FullereneDataParser
wget https://ghproxy.com/https://github.com/Franklalalala/usenauty/releases/download/linux/cagesearch
For developers
Any contribution is greatly appreciated. To install from the source code, the AutoSteper package:
git clone https://github.com/Franklalalala/AutoSteper
cd AutoSteper
pip install . -e
The FullereneDataParser package:
git clone https://github.com/XJTU-ICP/FullereneDataParser
cd FullereneDataParser
pip install . -e
To compile the usenauty project, please follow instructions in usenauty.
Note
Issues are welcomed if you have any questions.
Contributions needs to stay in line with Conventional Commit messages.
Contact me: 1660810667@qq.com
Metadata
Release files for AutoSteper 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| AutoSteper-2.1.1.tar.gz | 8.9 MB | Without provenance | Details for AutoSteper-2.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| AutoSteper-2.1.1-py3-none-any.whl | Python 3 | none | any | Details for AutoSteper-2.1.1-py3-none-any.whl |
Total release size: 9.0 MB
Release files / AutoSteper-2.1.1.tar.gz
| Download URL | AutoSteper-2.1.1.tar.gz |
|---|---|
| Size | 8.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82b3debfb24ad63f0b139b35d71ddebc291aeaa762723a0e78b2d1430b3e626f
|
|
BLAKE2b-256 checksum How to use checksums |
3bd1b0cf54239f8021cfd205cf174430b6a5ff1b081fef02eec88e3b1dbebf12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / AutoSteper-2.1.1-py3-none-any.whl
| Download URL | AutoSteper-2.1.1-py3-none-any.whl |
|---|---|
| Size | 41.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0dd4e244fafee60095f31e84c5f2cf770dc9825e4b39427a27d82b413349a2b2
|
|
BLAKE2b-256 checksum How to use checksums |
2b6a17fdebb2f9e7cf4e859447b7c828921b34fc81358cd118806868b6ab97a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for AutoSteper 2.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.