Skip to content

Commit

Permalink
modules
Browse files Browse the repository at this point in the history
  • Loading branch information
tamarervin committed Apr 21, 2022
1 parent fdc7005 commit aee34c6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
21 changes: 18 additions & 3 deletions SolAster/examples/full_pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,25 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 6,
"metadata": {
"pycharm": {
"name": "#%%\n"
}
},
"outputs": [],
"outputs": [
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'SolAster.tools'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-6-1175468e45ae>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 10\u001b[0m \u001b[0msys\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpath\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mappend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'/Users/tamarervin/SolAster'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 11\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 12\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0mSolAster\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtools\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrvs\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mrvs\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 13\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mSolAster\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtools\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcalculation_funcs\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0msfuncs\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 14\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mSolAster\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtools\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlbc_funcs\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mlbfuncs\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'SolAster.tools'"
]
}
],
"source": [
"import pandas as pd\n",
"import numpy as np\n",
Expand All @@ -30,6 +42,9 @@
"from sunpy.net import attrs as a\n",
"from sunpy.coordinates import frames\n",
"\n",
"import sys\n",
"sys.path.append('/Users/tamarervin/SolAster')\n",
"\n",
"import SolAster.tools.rvs as rvs\n",
"import SolAster.tools.calculation_funcs as sfuncs\n",
"import SolAster.tools.lbc_funcs as lbfuncs\n",
Expand Down Expand Up @@ -448,7 +463,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
"version": "3.7.6"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name='SolAster',
version='1.0.5',
packages=['SolAster', 'SolAster.tools', 'SolAster.source', 'SolAster.examples'],
install_requires=['astropy', 'sunpy', 'scikit-image'],
install_requires=['astropy', 'sunpy', 'scikit-image', 'SolAster.tools', 'SolAster.source', 'SolAster.examples'],
url='https://github.com/tamarervin/SolAster',
license='Apache Software License',
author='Tamar Ervin',
Expand Down

0 comments on commit aee34c6

Please sign in to comment.