Skip to content

Instantly share code, notes, and snippets.

Carlos G. Oliver cgoliver

Block or report user

Report or block cgoliver

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View csvtest.py
from mycsv import *
if __name__ == "__main__":
#creating parser object
#these are default values anyway
#passing them explicitly just to show funcionatity
parser = MyCSV(delimiter=",", header=True)
#parsing test file
data = parser.parse("test.csv")
View fold.py
## Nussinov RNA folding algorithm + recursive backtrack. Implemented by Carlos G. Oliver ##
import numpy as np
min_loop_length = 4
def ss_to_bp(ss):
pairs = []
stack = []
for i, b in enumerate(ss):
View vimrc
"set nocompatible " required
filetype plugin on " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"
" " alternatively, pass a path where Vundle should install plugins
" "call vundle#begin('~/some/path/here')
"
You can’t perform that action at this time.