Skip to content

Commit

Permalink
Replace inconsistent tabbing with spaces in MatrixInector.py
Browse files Browse the repository at this point in the history
python 3 does not accept mixing spacing and tabbing.
  • Loading branch information
Dr15Jones committed Aug 23, 2019
1 parent fa291ff commit 527ee04
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Configuration/PyReleaseValidation/python/MatrixInjector.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,13 +449,13 @@ def prepare(self,mReader, directories, mode='init'):
for (om,o) in t_input['nowmIO'].items():
if primary in o:
#print "found",primary,"procuced by",om,"of",t_input['TaskName']
#ad-hoc fix due to restriction in TaskName of 50 characters
if (len(t_input['TaskName'])>50):
if (t_input['TaskName'].find('GenSim') != -1):
#ad-hoc fix due to restriction in TaskName of 50 characters
if (len(t_input['TaskName'])>50):
if (t_input['TaskName'].find('GenSim') != -1):
t_input['TaskName'] = 'GenSimFull'
if (t_input['TaskName'].find('Hadronizer') != -1):
if (t_input['TaskName'].find('Hadronizer') != -1):
t_input['TaskName'] = 'HadronizerFull'
t_second['InputTask'] = t_input['TaskName']
t_second['InputTask'] = t_input['TaskName']
t_second['InputFromOutputModule'] = om
#print 't_second',pprint.pformat(t_second)
if t_second['TaskName'].startswith('HARVEST'):
Expand Down

0 comments on commit 527ee04

Please sign in to comment.