This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Script initialization | |
script=$(basename "$0") | |
desc='Perform Born effective charges calculation, which are useful for | |
analyzing spontaneous polarization, using the Vienna Ab initio simulation | |
package, VASP.' | |
declare -iA errno | |
errno[EUNK]=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "Mediafire Official Plugin", | |
"version":"0.1", | |
"description": "First Plugin Running!", | |
"main": "main.rb", | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/kdragon/plugin.mdmplugin.git" | |
}, | |
"require": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2012-06-24 14:07:47.653 MDMCoreData[1428:403] category: <MDMCategory: 0x7ffbd212da70> (entity: Category; id: 0x7ffbd212db00 <x-coredata:///Category/tF2FA1117-5B70-4B08-9C2C-96731C55BF622> ; data: { | |
extensions = ( | |
"0x7ffbd2135630 <x-coredata:///Extension/tF2FA1117-5B70-4B08-9C2C-96731C55BF623>", | |
"0x7ffbd2137b80 <x-coredata:///Extension/tF2FA1117-5B70-4B08-9C2C-96731C55BF624>", | |
"0x7ffbd2138950 <x-coredata:///Extension/tF2FA1117-5B70-4B08-9C2C-96731C55BF625>", | |
"0x7ffbd2134a80 <x-coredata:///Extension/tF2FA1117-5B70-4B08-9C2C-96731C55BF626>" | |
); | |
label = Documents; | |
location = "/Users/kdragon/Documents"; | |
objects = ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File "../getEnergy.py", line 59, in <module> | |
main() | |
File "../getEnergy.py", line 55, in main | |
csim.analyze([ energy ]) | |
File "/opt/Desmond_10/mmshare-v19108/lib/Linux-x86_64/lib/python2.6/site-packages/schrodinger/trajectory/desmondsimulation.py", line 425, in analyze | |
tool.processFrame(frame) | |
File "/opt/Desmond_10/mmshare-v19108/lib/Linux-x86_64/lib/python2.6/site-packages/schrodinger/application/desmond/energygroup.py", line 453, in processFrame | |
self._result.append(self._ega.getEnergyTimeSeries()[frame.getId()]) | |
File "/opt/Desmond_10/mmshare-v19108/lib/Linux-x86_64/lib/python2.6/site-packages/schrodinger/application/desmond/energygroup.py", line 212, in getEnergyTimeSeries | |
self._calcEnergy() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void APNpSeeker::run() | |
{ | |
while (walkable()) { | |
QList<float> pointsInsideWindow = QList<float>(); | |
for (int i = left(); i < right(); ++i) { | |
pointsInsideWindow.append( points.at(i) ); | |
} | |
float average = sum(pointsInsideWindow) / points.length(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def generateMeasureAtomIdx(st, measures): | |
measuresIdxs = [] | |
if not measures: return measuresIdxs | |
for measure in measures.split(','): | |
atoms, importance = measure.split('@') | |
measureAttributes = { 'importance' : float(importance) } | |
for i, atomSelection in enumerate(atoms.split('-')): | |
atomAslExpr = shortAtomSelectionToAsl(atomSelection) | |
measureAttributes['atom%s' % i] = analyze.evaluate_asl(st, atomAslExpr)[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)controlTextDidChange:(NSNotification *)notification |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[NSNotificationCenter defaultCenter] addObserver:self | |
selector:@selector(textDidChange:) | |
name:NSControlTextDidChangeNotification | |
object:textField]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (![NSApp isActive]) | |
[NSApp requestUserAttention:NSCriticalRequest]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSComparisonResult)compare:(id)object | |
{ | |
if ([[self identifier] isEqualToString:[object identifier]]) return NSOrderedSame; | |
NSComparisonResult result = [[self identifier] compare:[object identifier]]; | |
if (result != NSOrderedSame) return result; | |
return [[self fileName] compare:[object fileName]]; | |
} |
NewerOlder