Skip to content

Commit

Permalink
fix path reference to be generic
Browse files Browse the repository at this point in the history
  • Loading branch information
gbarter committed Feb 14, 2024
1 parent 102f9f1 commit bbfa6e8
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions examples/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -41,7 +41,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand All @@ -53,7 +53,8 @@
}
],
"source": [
"output_dir = \"/Users/gbarter/devel/pCrunch/pCrunch/test/io/data\"\n",
"output_dir = os.path.join( os.path.dirname(os.path.realpath('')), \n",
" \"pCrunch\", \"test\",\"io\",\"data\")\n",
"results_dir = os.path.join(output_dir, \"results\")\n",
"save_results = True\n",
"\n",
Expand All @@ -74,18 +75,18 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[<pCrunch.io.openfast.OpenFASTBinary at 0x11302c210>,\n",
" <pCrunch.io.openfast.OpenFASTBinary at 0x13d826410>,\n",
" <pCrunch.io.openfast.OpenFASTBinary at 0x1131d5e50>]"
"[<pCrunch.io.openfast.OpenFASTBinary at 0x13b007610>,\n",
" <pCrunch.io.openfast.OpenFASTBinary at 0x13b008750>,\n",
" <pCrunch.io.openfast.OpenFASTBinary at 0x13b0b2e10>]"
]
},
"execution_count": 3,
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -100,7 +101,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 9,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -153,7 +154,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -191,7 +192,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -219,7 +220,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 12,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -452,7 +453,7 @@
"[5 rows x 1799 columns]"
]
},
"execution_count": 7,
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
Expand Down

0 comments on commit bbfa6e8

Please sign in to comment.