Skip to content

Commit

Permalink
small fix #217
Browse files Browse the repository at this point in the history
Just journal 1 atm, testing it.
  • Loading branch information
shirubana committed Dec 6, 2019
1 parent d360efa commit b090a15
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@
],
"source": [
"import os\n",
"testfolder = os.path.abspath(r'..\\..\\bifacial_radiance\\TEMP') \n",
"from pathlib import Path\n",
"\n",
"testfolder = Path().resolve().parent.parent / 'bifacial_radiance' / 'TEMP'\n",
"\n",
"# Another option using relative address; for some operative systems you might need '/' instead of '\\'\n",
"# testfolder = os.path.abspath(r'..\\..\\bifacial_radiance\\TEMP') \n",
"\n",
"print (\"Your simulation will be stored in %s\" % testfolder)\n"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@


import os
testfolder = os.path.abspath(r'..\..\bifacial_radiance\TEMP')
from pathlib import Path

testfolder = Path().resolve().parent.parent / 'bifacial_radiance' / 'TEMP'

# Another option using relative address; for some operative systems you might need '/' instead of '\'
# testfolder = os.path.abspath(r'..\..\bifacial_radiance\TEMP')

print ("Your simulation will be stored in %s" % testfolder)

Expand Down

0 comments on commit b090a15

Please sign in to comment.