Skip to content

Commit

Permalink
journal2 path fix #217
Browse files Browse the repository at this point in the history
  • Loading branch information
shirubana committed Dec 6, 2019
1 parent b090a15 commit 7a9000a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Expand Up @@ -73,7 +73,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)"
]
Expand Down
Expand Up @@ -49,7 +49,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 7a9000a

Please sign in to comment.