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/perl | |
use warnings; | |
use strict; | |
use TaxonomyCirclePack; | |
use Storable; | |
use Data::Dumper; | |
=pod |
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
library(ggplot2) | |
library(reshape2) | |
library(vegan) | |
library(gplots) | |
library(ggrepel) | |
library(fossil) | |
multiplot <- function(..., plotlist=NULL, file, cols=1, layout=NULL) { | |
require(grid) |
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
library(ggplot2) | |
library(reshape2) | |
library(vegan) | |
library(gplots) | |
library(ggrepel) | |
library(fossil) | |
global_S <- NULL | |
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 is_outlier(list, threshold=3.5): | |
""" | |
Returns a boolean array with True if points are outliers and False | |
otherwise. | |
Parameters: | |
----------- | |
points : An numobservations by numdimensions array of observations | |
thresh : The modified z-score to use as a threshold. Observations with | |
a modified z-score (based on the median absolute deviation) greater |
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
Dummy File |
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 pickle | |
import os | |
from functools import partial | |
def function(text , a = 3): | |
print('this is a function with text {0} and a = {1}'.format(text , a)) | |
class Test(object): | |
""" """ | |
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 dateutil.parser import parse | |
from skyscout.db_models import * | |
from sqlalchemy.exc import IntegrityError | |
import logging | |
logger = logging.getLogger(__name__) | |
def drop_all(): | |
db.drop_all() |
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
""" | |
Adapted from Camille Scott's dammit logger : | |
https://github.com/camillescott/dammit/blob/master/dammit/log.py | |
and | |
Robpol86 | |
https://github.com/Robpol86/Flask-Large-Application-Example/blob/master/manage.py#L81 |
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 os | |
import fnmatch | |
import glob | |
import shutil | |
package = os.path.basename(os.path.dirname(__file__)) | |
def task_docs(): | |
""" | |
Build our documentation |
OlderNewer