Skip to content

Commit

Permalink
Format tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
durack1 committed Dec 8, 2016
1 parent 0b41846 commit bee5081
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/python/io/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,23 +128,23 @@ def provenanceGrab(self):
#os.access('/',os.W_OK)
#Out[22]: False

# Platform
# Platform
platform = os.uname()
platformId = [platform[0], platform[2], platform[1]]
osAccess = [os.access('/', os.W_OK), os.access('/', os.R_OK)]
# Python
# conda (platform/conda-env/conda-build/python/root env/default env)

# Conda meta
p = subprocess.Popen('conda info', stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd='./', shell=True)
condaInfo = p.stdout.read()
p.terminate()
if p.stderr.read() = '':
for
for
# PMP

# CDP

# PMP version
# PMP obs version
# CDP version
Expand All @@ -163,7 +163,7 @@ def provenanceGrab(self):
provenance = {}
provenance['platformId'] = platformId
provenance['osAccess'] = ['Root write: ',osAccess[0], '; Root read: ',osAccess[1]]
provenance['condaEnv'] =
provenance['condaEnv'] =
return provenance

def setTargetGrid(self, target, regridTool="esmf", regridMethod="linear"):
Expand Down

0 comments on commit bee5081

Please sign in to comment.