Comments (15)
One of the key benefits is allowing us to split up various "groups" of inputs into separate classes for re-use in multiple apps.
from yank.
Can you point me to the source files that have the command-line code?
from yank.
The mixtape/commands directory are the apps
On Mar 9, 2014 11:17 AM, "John Chodera" [email protected] wrote:
Can you point me to the source files that have the command-line code?
Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-37129188
.
from yank.
So you mean we should use mixtape.cmdline
?
from yank.
Yes Its one possibility.
There's also ipython cmdline.
Just good to think about options.
On Mar 9, 2014 11:29 AM, "John Chodera" [email protected] wrote:
So you mean we should use mixtape.cmdline?
Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-37129526
.
from yank.
We could certainly do that, but I don't think I understand what the shortcomings of optparse
are that cmdline
fixes? Can you elaborate a bit?
from yank.
It would be easiest to give examples of what kinds of command-line specifications you're thinking about...
from yank.
Optparse is inflexible.
On Mar 9, 2014 11:37 AM, "John Chodera" [email protected] wrote:
We could certainly do that, but I don't think I understand what the
shortcomings of optparse are that cmdline fixes? Can you elaborate a bit?Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-37129712
.
from yank.
Sure, but so is mixtape.cmdline
, compared to some more flexible counterpart.
I'm just missing a description of what kind of flexibility you think we should include that optparse
lacks. Like, a few example command-lines for yank that would make use simpler than optparse
permits.
I'm totally not opposed to this---I'm just not understanding the suggestion!
from yank.
The problem I wanted to solve with mixtape
was really that I have many different subcommands that I want to structure under the same command line call. (In the way git clone/fetch/merge
are all "subcommands" of the root git
command.) And I'd like to be able to do the equivalent of git -h
to get a full listing of all my commands and a short description. The structure of the mixtape commands was mostly to enable this, and make it so new commands can get "registered" seamlessly without a having some single master block of argparse/optparse code that sets up all the parsers in one place.
from yank.
@kyleabeauchamp: I worked a lot with trying to "pull out" the command line infrastructure from IPython and adapt it to a standalone thing. I did that for the openmm
command line executable actually. But IMO it is more complex than necessary. Traitlets are kind of nice and clever, but very magical and tricky to debug when things aren't hooked up correctly.
from yank.
Thanks for the insight, that was my thinking but I wasn't quite sure.
from yank.
Thanks for the detailed explanation, @rmcgibbo! I agree that this makes a lot of sense for yank.
For example, we food have yank analyze
be separate from yank run
or yank progress
.
from yank.
I think we will definitely add this feature.
from yank.
I think we've settled on a command-line interface, as such I'm going to close this. If anyone disagrees, feel free to reopen.
from yank.
Related Issues (20)
- Yank analysis error HOT 7
- Issues about the calculation of solvation free energy in organic solvent
- Cannot apply the restraint. No receptor-ligand complex could be found. HOT 1
- generate_free_energy() fails because standard state correction is missing from the reporter HOT 1
- Migrate thermodynamic trailblazing to openmmtools
- Yank installation Python3.10 import error HOT 1
- a error about antecamber HOT 5
- The periodic box size has decreased to less than twice the nonbonded cutoff
- Free energy of solvation for charged ligand
- Load() missing one argument
- pymbar 4 compatibility HOT 1
- I got the following error. HOT 6
- multichain receptor for 'restrained_receptor_atoms'
- Issue with Ligand Coordinates During Absolute-Binding Free Energy
- NetCDF upstream changes breaking Yank (and can't update OpenMMtools)
- Failures due to API changes in `openmmtools` HOT 3
- problem during absolute binding energy calculation HOT 3
- support for python 3.10? HOT 2
- Issue in Yank's calls to OpenMMTools MultiStateReporter HOT 1
- Question: How to measure simulation time and how much is necessary?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yank.