Skip to content

Commit

Permalink
refs #6667 Minor changes for niceness
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Jun 20, 2013
1 parent d4cbed6 commit a3a3ba2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Code/Mantid/scripts/Inelastic/DirectEnergyConversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ def diagnose(self, white, **kwargs):
arg = par.lstrip('diag_')
if arg not in kwargs:
kwargs[arg] = getattr(self, arg)


for key,val in kwargs.iteritems():
print "diag for key:\t {0:<20}\t Value: {1:<20}".format(key, str(val))
# Get the white beam vanadium integrals
whiteintegrals = self.do_white(white, None, None,None) # No grouping yet
if 'second_white' in kwargs:
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/scripts/Inelastic/dgreduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def arb_units(wb_run,sample_run,ei_guess,rebin,map_file=None,monovan_run=None,**
# inform user about changed parameters
for key in changed_Keys:
val = getattr(Reducer,key);
Reducer.log(" Value of "+key+"\t is set to non-default value:\t "+str(val))
Reducer.log(" Value of key: {0:<25} is set to non-default value: {1:<20} ".format(key,val))


#do we run absolute units normalization and need to warn users if the parameters needed for that have not changed from defaults
Expand Down

0 comments on commit a3a3ba2

Please sign in to comment.