GithubHelp home page GithubHelp logo

mosdef-hub / mosdef_tutorials Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 18.0 16.77 MB

A set of tutorials to introduce new users to the MoSDeF (Molecular Simulation Design Framework) toolkit

Jupyter Notebook 96.41% Python 3.44% Shell 0.15%
foyer-tutorials mbuild mbuild-tutorials mosdef mosdef-tutorials

mosdef_tutorials's People

Contributors

calcraven avatar chrisiacovella avatar daico007 avatar justingilmer avatar mattwthompson avatar rmatsum836 avatar summeraz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mosdef_tutorials's Issues

visualize package

@summeraz

Andrew,

It was good meeting you at FOMMS a few weeks ago. I have finally gotten around to trying to implement mbuild and foyer. I successfully installed all the needed software to run the "Individual Tutorial Overview", except for visualize. I tried "pip install visualize" and searching for it online, but to no avail. Where can I find visualize? For now, I have just commented out everywhere that visualize is found in the jupyter notebook, but that is obviously not the ideal solution.

Thanks

Rich

Add CI to test workflows

we could use pytest plugin nbval to check our notebooks. Here is an actions yml from our notebook tutorials repo:

name: Test PR and Image
on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
jobs:
  test:
    runs-on: ubuntu-latest
    container: 
      image: cmelab/notebook-tutorials
    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v1
    - name: test notebooks
      shell: bash -l {0}
      run: python -m pytest -v --nbval-lax

Use warning filter to get rid of `FutureWarning` from pandas

There are several warnings raised from pandas that appear throughout the tutorials, looking like:

/anaconda3/envs/mosdef-binder/lib/python3.5/site-packages/pandas/io/parsers.py:2230: FutureWarning: split() requires a non-empty pattern match.
  yield pat.split(line.strip())

These can easily be filtered out by adding warnings.filterwarnings("ignore", FutureWarning) at the top of each notebook.

Atomtype tests in `mff_test1` are failing

In test_atomtyping the force field file the user has edited is found by the following line: FORCEFIELD_FILES = glob('*.xml'). Because mff_test1-MASTER.xml also exists in this directory, foyer attempts to load in both force field xmls. As a result, the test fails because multiple definitions are found for the same atom type.

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.