mosdef-hub / mosdef_tutorials Goto Github PK
View Code? Open in Web Editor NEWA set of tutorials to introduce new users to the MoSDeF (Molecular Simulation Design Framework) toolkit
A set of tutorials to introduce new users to the MoSDeF (Molecular Simulation Design Framework) toolkit
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
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
mbuild-overview.ipynb
contains AlkaneMonolayer
which has since been moved to a separate repo mbuild-examples
.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.