Comments (4)
Additionally, as long as you keep the same order within the calculate and reference datatype it will compare the right data.
Both of these should work:
python compare.py -c " -d somedirc/ -me file1 file2" -r " -d somedirc/ -je file1 file2"
python compare.py -c " -d somedirc/ -me file2 file1" -r " -d somedirc/ -je file2 file1"
Again can this be confirmed?
from q2mm.
So this will work:
python compare.py -c " -d somedirc/ -me -mea -meo -meao -mb -ma -mt -mq -mqh -mqa -mh -mgeig" -r " -d somedirc/ -je -jea -jeo -jeao -jb -ja -jt -jq -jqh -jqa -jh -jgeig"where as if I were to switch the orders of the datatypes it will not be compared appropriately.
So this will not work, where I have moved angle and torsions to the end of the line:
python compare.py -c " -d somedirc/ -me -mea -meo -meao -mb -mq -mqh -mqa -mh -mgeig -ma -mt " -r " -d somedirc/ -je -jea -jeo -jeao -jb -jq -jqh -jqa -jh -jgeig -ja -jt"
Actually, both of these will work. The calculate module creates a list of Datum objects, and these objects are always added in the following order: -r, -je, -ge, -me, -jea, -gea, -mea, -jeo, -geo, meo, -jeao, -geao, -meao, -jb, -mb, -ja, -ma, -jt, -mt, -jq, -mq, -jqh, -mqh, -jqa, -mqa, -jh, -gh, -mh, -jeigz, -geigz, -mjeig, -mgeig (hope I didn't miss any on that skim through calculate.py). You can also look through calculate.py to see the order. I tried to make it fairly clear with all capital comments.
Additionally, as long as you keep the same order within the calculate and reference datatype it will compare the right data.
Both of these should work:
python compare.py -c " -d somedirc/ -me file1 file2" -r " -d somedirc/ -je file1 file2"
python compare.py -c " -d somedirc/ -me file2 file1" -r " -d somedirc/ -je file2 file1"
This is the important part, and yes, both of those will work. However,
python compare.py -c " -d somedirc -me file1 file2" -r " -d somedirc -je file2 file1"
will not align the data properly.
from q2mm.
You are correct, you should have to specify the datatype order. There were some sort commands that were left un-commented in compare.py. It may be beneficial to still put them in that order, for "just in case" measures.
from q2mm.
Hmm those uncommented sort commands may mess things up. Thanks for catching that. I'll look into that.
from q2mm.
Related Issues (20)
- Problem with Hessian options
- Grabbing Eigenvalues HOT 1
- Force Constant Calculation HOT 1
- Exit status 3 from MacroModel HOT 5
- Setup esp HOT 1
- Strange error reading Gaussian frequencies HOT 7
- Multiple Processing HOT 5
- Informative ValueError HOT 6
- Simplex HOT 25
- Dangerous torsion-test HOT 4
- License checking HOT 4
- SVD HOT 12
- Hessian inversion HOT 18
- Mass weight Gaussian energy derivative datatypes HOT 3
- loop error HOT 2
- The loop is broken HOT 2
- New method to read Jaguar eigenvalues HOT 1
- true/false properties in .mae file not working HOT 4
- RCA4 and TORC bond attributes not changing after merge HOT 1
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 q2mm.