Skip to content

Instantly share code, notes, and snippets.

@gravitino

gravitino/Cell1+2.ipynb

Last active Apr 20, 2021
Embed
What would you like to do?
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"# This ensures to use the source code if not installed as Python package\n",
"try:\n",
" import rapidAligner\n",
"except:\n",
" import os, sys\n",
" sys.path.append(os.path.join(os.getcwd(),\"..\"))"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"import rapidAligner as ra\n",
"import cupy as cp\n",
"import numpy as np\n",
"import pylab as pl"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment