Commit fdb9294c authored by eric pellegrini's avatar eric pellegrini

Removed print

parent 3ee376a6
Pipeline #4228 passed with stages
in 17 minutes and 53 seconds
......@@ -150,7 +150,6 @@ class Platform(object):
raise PlatformError('Invalid query object type.')
basepath = os.path.join(os.path.dirname(self.package_directory()),'')
print basepath, len(basepath), path.split(basepath), path
s = path.split(basepath)
if len(s) != 2:
......
......@@ -1170,12 +1170,4 @@ def _init_mags():
if not MAGS:
_init_mags()
if __name__ == "__main__":
print mg(1.0,'h THz','meV')
print mg(1.0,'meV/h','THz')
print mg(1.0,'hbar rad/ps','meV')
print mg(1.0,'cyc THz','rad/ps')
print mg(1.0,'rad/ps',' cyc THz')
print mg(1.0,'rad/ps',' cyc meV(freq)')
......@@ -122,36 +122,26 @@ if __name__ == "__main__":
from MDANSE.Externals.pyparsing.pyparsing import *
def parse_keyword(token):
print "parse_keyword"
return '"%s"(universe).select' % token[0]
def parse_arguments(token):
print "parse_arguments"
return "(%s)" % str(token)
def operator_and(token):
print "operator_and"
token[0][1] = "&"
return " ".join(token[0])
def operator_or(token):
print "operator_or"
token[0][1] = "|"
return " ".join(token[0])
def parse_expression(self, token):
print "parse_expression"
return "".join([str(t) for t in token])
......@@ -173,5 +163,4 @@ if __name__ == "__main__":
rpar=")")
parsedExpression = expr.transformString(expression)
print parsedExpression
......@@ -121,7 +121,7 @@ class CoordinationNumber(DistanceHistogram):
cBeta = self._concentrations[pair[1]]
invPair = pair[::-1]
print pair, cnIntra
self._outputData["cn_intra_%s%s" % pair][:] = self.averageDensity*cBeta*cnIntra
self._outputData["cn_inter_%s%s" % pair][:] = self.averageDensity*cBeta*cnInter
self._outputData["cn_total_%s%s" % pair][:] = self.averageDensity*cBeta*cnTotal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment