Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cspp-geo-gridded-glm
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
cspp-geo-gridded-glm
Commits
7ca30fd7
Commit
7ca30fd7
authored
4 years ago
by
Nick Bearson
Browse files
Options
Downloads
Patches
Plain Diff
remove a trailing newline in our version number
parent
2cf618c9
No related branches found
No related tags found
1 merge request
!6
Resolve "add tracability attributes to grid (and maybe tile) files"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gridded_glm/libexec/_minute_gridder.py
+1
-1
1 addition, 1 deletion
gridded_glm/libexec/_minute_gridder.py
with
1 addition
and
1 deletion
gridded_glm/libexec/_minute_gridder.py
+
1
−
1
View file @
7ca30fd7
...
@@ -191,7 +191,7 @@ def grid_setup(args, work_dir=os.getcwd()):
...
@@ -191,7 +191,7 @@ def grid_setup(args, work_dir=os.getcwd()):
def
get_cspp_gglm_version
():
def
get_cspp_gglm_version
():
try
:
try
:
version_filename
=
os
.
path
.
join
(
os
.
getenv
(
'
CSPP_GEO_GGLM_HOME
'
),
"
.VERSION.txt
"
)
version_filename
=
os
.
path
.
join
(
os
.
getenv
(
'
CSPP_GEO_GGLM_HOME
'
),
"
.VERSION.txt
"
)
return
open
(
version_filename
,
'
r
'
).
read
()
return
open
(
version_filename
,
'
r
'
).
read
()
.
rstrip
()
except
:
except
:
return
"
unknown
"
return
"
unknown
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment