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
ModuleSyntaxError: Syntax error in file <blogger_bridge.py> line <82>: | |
Syntax errors in file blogger_bridge.py: | |
* line 23: invalid syntax ... fixed | |
* line 82: expected an indented block ... raised! | |
Traceback (most recent call last): | |
File "/home/eulero/workspace/emacs-for-python/rope-dist/ropemode/decorators.py", line 53, in newfunc | |
return func(*args, **kwds) | |
File "/home/eulero/workspace/emacs-for-python/rope-dist/ropemode/interface.py", line 274, in completions | |
return _CodeAssist(self, self.env).completions() | |
File "/home/eulero/workspace/emacs-for-python/rope-dist/ropemode/interface.py", line 593, in completions |
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
from attest import Tests | |
pdbone = def | |
""" | |
""" | |
import pdb; pdb.set_trace() | |
import pdb; pdb.set_trace() | |
def (self, ): | |
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
import pyaudio | |
import wave | |
import numpy as np | |
from contextlib import contextmanager | |
import math | |
p = pyaudio.PyAudio() | |
chunk = 1024*4 | |
FORMAT = pyaudio.paInt16 |
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 emacs-for-python | |
:type git | |
:url "git://github.com/gabrielelanaro/emacs-for-python.git" | |
:load-path "." | |
:post-init (lambda () | |
(require 'epy-setup) | |
(require 'epy-python) | |
(require 'epy-completion)) | |
) |
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
***************** | |
* O R C A * | |
***************** | |
--- An Ab Initio, DFT and Semiempirical electronic structure package --- | |
######################################################## | |
# -***- # | |
# Developed by Frank Neese # |
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
___ __ ______ ______ .___ ___. | |
/ \ | | / | / || \/ | | |
/ ^ \ | | | ,----'| ,----'| \ / | | |
/ /_\ \ | | | | | | | |\/| | | |
/ _____ \ | | | `----.| `----.| | | | | |
/__/ \__\ |__| \______| \______||__| |__| | |
ab initio cyclic cluster model | |
Developed by Michael F. Peintinger |
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
# This is in aiccm/calculator_huckel.py how I form the huckel fock matrix | |
def calcF(self): | |
""" Calculate the fock matrix. | |
""" | |
# It's not quite necessary but I calculate overlaps at once | |
S = self.getS() | |
d = self.dimension | |
self.F = F = np.zeros((d, d), 'd') |
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
from calculator_hf import HartreeFock | |
import numpy as np | |
class MP2: | |
def __init__(self, scf, text, parameters): | |
""" Takes as input *scf* that is a converged SCF and the usual | |
output function *text* and the parameter dictionary | |
*parameters. | |
""" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
from chemlab.db import RcsbDB | |
db = RcsbDB() | |
mol = db.get("molecule", "4b0n") |
OlderNewer