GithubHelp home page GithubHelp logo

davidkastner / pyef Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 22.04 MB

Package for the calculating electric fields and ESP in molecular systems.

Home Page: https://pyef.readthedocs.io/en/latest/

License: MIT License

Python 100.00%
dft electric-fields quantum-chemistry

pyef's Introduction

Graphical Summary of README

PyEF

GitHub Actions Build Status Documentation Status

Table of Contents

  1. Overview
  2. Tutorials
  3. Installation
    • Download the package from GitHub
    • Creating a python environment
    • Developer install of PyEF
    • Supporting installations
  4. What is included?
    • File structure
    • Command Line Interface
  5. Documentation
    • Update the ReadTheDocs
    • GitHub refresher

1. Overview

The purpose of PyEF is to make electric field and electrostatics calculations more accessible. PyEF is a python package optimized to run using molden files from QM calculations.

2. Tutorials

In progress

3. Installation

Install the package by running the follow commands inside the downloaded repository. This will perform a developmental version install. It is good practice to do this inside of a virtual environment.

Download the package from GitHub

git clone [email protected]:davidkastner/pyEF.git

Creating python environment

All the dependencies can be loaded together using the prebuilt environment.yml file. Compatibility is automatically tested for python versions 3.8 and higher. Installing all dependencies together has shown to produce more robust installations.

cd pyEF
conda env create -f environment.yml
conda activate pyef

Developer install of pyEF

cd pyEF
python -m pip install -e .

4. What's included?

PyEF contains a collection of optimized scripts that work together in pre-built workflows. If a script is not already included for procedure, many of the functions may be useful in building a procedure.

File structure

.
├── docs                # Readthedocs documentation site
├── pyEF                # Directory containing E3Bind modules
│   ├── cli.py          # Entry point for running E3Bind tools and workflows
│   ├── run             # Runs the workflow
│   ├── analysis        # Analyze the data
│   └── geometry        # Check geometries
└── ...

5. Documentation

Accurate documentation will always be a high priority for the project. You can find documentation at the project's ReadtheDocs.

Update the ReadTheDocs

make clean
make html

GitHub refresher

Push new changes

git status
git pull
git add -A .
git commit -m "Change a specific functionality"
git push -u origin main

Making a pull request

git checkout main
git pull

# Before you begin making changes, create a new branch
git checkout -b new-feature-branch
git add -A
git commit -m "Detailed commit message describing the changes"
git push -u origin new-feature-branch

# Visit github.com to add description, submit, merge the pull request

# Once finished on github.com, return to local
git checkout main
git pull

# Delete the remote branch
git branch -d new-feature-branch

Handle merge conflict

git stash push --include-untracked
git stash drop
git pull

Acknowledgements

Authors: Melissa Manetsch and David W. Kastner

MolSSi template version 1.6.

pyef's People

Contributors

davidkastner avatar mane292 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mane292 m24wood

pyef's Issues

click module not included in default install

Error: No module named "click" . This issue is fixed with "pip install click", but we should include this fix in the default installation? (Unless this is a result of specific Conda versions?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.