Skip to content

Instantly share code, notes, and snippets.

View sbassi's full-sized avatar

Sebastian Bassi sbassi

View GitHub Profile
Collecting matplotlib==3.4.2
Downloading matplotlib-3.4.2.tar.gz (37.3 MB)
|████████████████████████████████| 37.3 MB 907 kB/s
ERROR: Command errored out with exit status 1:
command: /Users/sb/venvs/loambioweb/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/qz/kww4c4nx2q71dzf_gzmp3bkc0000gn/T/pip-install-d40pdmke/matplotlib/setup.py'"'"'; __file__='"'"'/private/var/folders/qz/kww4c4nx2q71dzf_gzmp3bkc0000gn/T/pip-install-d40pdmke/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/qz/kww4c4nx2q71dzf_gzmp3bkc0000gn/T/pip-pip-egg-info-b8dja3m9
cwd: /private/var/folders/qz/kww4c4nx2q71dzf_gzmp3bkc0000gn/T/pip-install-d40pdmke/matplotlib/
Complete output (1350 lines):
ERROR: Command errored out with exit status 1:
command: /Users/sb/venvs/loambioweb/bin/pytho
def get_user_input(options):
user_input = ''
while user_input not in options and user_input != 'quit':
user_input = input("Enter your option (or 'quit' to exit): ")
return user_input
import requests
import json
import time
APIKEY = 'INSERT YOUR KEY HERE'
# NExt channelID is for https://www.youtube.com/c/A24com
CHANNELID = 'UCR9120YBAqMfntqgRTKmkjQ'
URL = f'https://www.googleapis.com/youtube/v3/search?key={APIKEY}&channelId={CHANNELID}&part=snippet,id&order=date&maxResults=50'
{
"Comment": "XXX",
"StartAt": "qc1",
"States": {
"qc1": {
"Type": "Task",
"Resource": "arn:aws:states:::batch:submitJob.sync",
"Parameters": {
"JobDefinition": "XXXX:1",
Oh, yeah, I don't see the differences in the debate on those if I don't raise the perimeter, if it is almost ever since they took office and only said so important is a system we communicate better single frequency when they debate on those countries.
For him, blueprint important.
This revolution impact on those are only Tracinda, only a print on oppression.
Yet as impreMedia in Canberra, this revolution picture parameters you permitted measure versatility and also the important, the practical look at the rapidly changing debate on those Edris in the opening the parenthesis Cantina Thallon War Emblem.
I got the name of Springhill Award in the parentheses see unallocated solamente converted into a patent trace component apparently.
Shut up.
They don't differentiate I potable water and whatnot.
Also going up.
I don't raise.
When will FEMA will print the solar panel parameter KAITUMA?
from itertools import product
# Chenage AA number here:
repeat = 7
# pepgen
aas = ('ALA', 'ARG', 'ASN', 'ASP', 'CYS', 'GLN', 'GLU', 'GLY',
'HIS', 'ILE', 'LEU', 'LYS', 'MET', 'PHE', 'PRO', 'SER',
'THR', 'TRP', 'TYR', 'VAL')
import time
from glob import glob
import uuid
import json
import requests
import boto3
FILE_TYPE = 'mp4'
LANGUAGE_CODE='es-ES'
import numpy as np
from pandas import read_csv
import holoviews as hv
from holoviews import opts
hv.extension('bokeh')
DATA_FILE = 'samples/GSM188012.CEL'
dtype = {'x': int, 'y': int, 'lux': float}
ds = read_csv(DATA_FILE, sep='\t', dtype=dtype)
heatmap = hv.HeatMap(ds).aggregate(function=np.mean)
from bokeh.charts import Scatter, output_file, show
from pandas import DataFrame
df = DataFrame.from_csv('../../samples/fishdata.csv')
scatter = Scatter(df, x='PC1', y='PC2', color='feeds',
marker='species', title=
'Metabolic variations based on 1H NMR profiling of fishes',
xlabel='Principal Component 1: 35.8%',
ylabel='Principal Component 2: 15.1%')
from bokeh.plotting import figure, show
from pandas import read_csv
from bokeh.models.markers import marker_types
from bokeh.transform import factor_cmap, factor_mark
df = read_csv('samples/fishdata.csv')
all_markers = [mt for mt in marker_types]
SPECIES = list(set(df['species']))
MARKERS = all_markers[:len(SPECIES)]