Skip to main content

The wrapper of AMS and Zacros drivers for SimPhoNy

Project description

ReaxPro wrappers:

This repository is a collection of wrappers used in the ReaxPro project. It holds wrappers for the Amsterdam Modeling Suite (AMS) and Zacros.

Authors

Index

Requiremnts

If you want to use this wrapper set, make sure you have installed:

Structure

A wrapper is a piece of code that slightly modifies the behavior of a function.

The ReaxPro wrappers are built around the running functions of the above-mentioned software. Their main task is to translate (map) the semantic script provided by the user to the terms that are understood by the engines.

For a given engine XXX, there is a folder reaxpro-wrappers/osp/wrappers/simXXX/simXXX_session.py containing the Simphony wrapper session that will trigger the job execution.

In the folder reaxpro-wrappers/osp/tools is placed all the tooling for the semantic to syntactic mapping.

Installation

First of all, you will need to install OSP-core and pyZacros

(env) user@computer:~/reaxpro-wrappers$ pip install osp-core https://github.com/SCM-NV/pyZacros/archive/refs/tags/v.1.2.zip

Then, make sure that the wrapper can access the ontology from the Fraunhofer Gitlab and download it with a given access token (with read_api and read_repository scopes).

If you are using Windows, please type:

(env) C:\Users\user> set GITLAB_ACCESS_TOKEN=<your-access-token>

If you are using Linux, please type:

(env) user@computer:~/reaxpro-wrappers$ export GITLAB_ACCESS_TOKEN=<your-access-token>

Then, finally install the wrapper. Simply type:

(env) user@computer:~/reaxpro-wrappers$ python setup.py install

... or:

(env) user@computer:~/reaxpro-wrappers$ pip install .

Example

The script ams_wrapper.py provides a simple semantic workflow to run a geometry optimization of a water molecule.

To run the script:

(env) user@computer:~/reaxpro-wrappers$ python ams_wrapper.py 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reaxpro-wrappers-1.1.2.tar.gz (45.7 kB view details)

Uploaded Source

Built Distribution

reaxpro_wrappers-1.1.2-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

Details for the file reaxpro-wrappers-1.1.2.tar.gz.

File metadata

  • Download URL: reaxpro-wrappers-1.1.2.tar.gz
  • Upload date:
  • Size: 45.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for reaxpro-wrappers-1.1.2.tar.gz
Algorithm Hash digest
SHA256 9865747d584e167e0846d908ef96362c462ef7ca44110b7c8528cdee4ebe97b8
MD5 4ad24a350842ce939f8b0fabd4fe18ce
BLAKE2b-256 4ed7e8b6ffb8c0b04a1057f777c69e3c77f0424edd7e65b3fb155b8b20e563f1

See more details on using hashes here.

File details

Details for the file reaxpro_wrappers-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for reaxpro_wrappers-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a6145ee8f61dc8f6348e4231b5a6847a7acf47b0865de49a3c9bd23468cb87a
MD5 4719ae13902007e093e81f55833c33cc
BLAKE2b-256 06d3b57565c7312959b22f1aee75e0689fedfeb2324d104fc53d063cdd038e71

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page