Skip to content
Snippets Groups Projects
Commit 6db6d6ff authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fixed warning when parsing VERSION

I removed the newline at the end of the string
parent 5f029cad
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ if plumedname is None:
plumedversion = os.getenv("plumed_version")
if plumedversion is None:
plumedversion = subprocess.check_output(['grep','-v','#','./VERSION']).decode("utf-8")
plumedversion = subprocess.check_output(['grep','-v','#','./VERSION']).decode("utf-8").rstrip()
print( "Module name " + plumedname )
print( "Version number " + plumedversion )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment