Closed paolap closed 4 years ago
stats was trying to retrieve the 'project' attribute from the results using the following assignment
project = results.loc[0,'project']
This can occasionally fail if stats and --and are used together because --and could filter out the row with index '0'
To fix it
project = results['project'].iloc[0]
so it will select the first row rather than the one with index '0'
Fixed in citation branch
stats was trying to retrieve the 'project' attribute from the results using the following assignment
project = results.loc[0,'project']
This can occasionally fail if stats and --and are used together because --and could filter out the row with index '0'
To fix it
project = results['project'].iloc[0]
so it will select the first row rather than the one with index '0'