We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b9585 commit 5af95e8Copy full SHA for 5af95e8
ccsgp_get_started/examples/utils.py
@@ -14,9 +14,9 @@ def getWorkDirs():
14
caller_modurl = os.path.splitext(caller_relurl)[0]
15
# split caller_url & append 'Dir' to package name
16
dirs = caller_modurl.split('/')
17
- dirs[0] += 'Dir'
+ dirs[0] = 'data' # TODO de-hardcode
18
# get, check and create outdir
19
- outDir = os.path.join(*(dirs + ['output']))
+ outDir = os.path.join(*(['output'] + dirs[1:]))
20
if not os.path.exists(outDir): os.makedirs(outDir)
21
# get and check indir
22
dirs.append('input')
0 commit comments