Skip to content

Commit

Permalink
Merge branch 'release/1.0'
Browse files Browse the repository at this point in the history
First version of taranis.
  • Loading branch information
luis committed Oct 18, 2018
2 parents b42f6a8 + 29dadbe commit dc4a1c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ __pycache__/

# C extensions
*.so
*.log
*.log.*

# Distribution / packaging
.Python
Expand Down
10 changes: 9 additions & 1 deletion taranis.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,15 @@ def create_summary (samples_matrix_dict, logger) :
number =int(values)
summary_dict[key]['Exact match'] +=1
except:
logger.debug('The value %s, was found when collecting summary information for the %s', values, summary_dict[key] )
if '_' in values :
tmp_value = values
try:
number = int(tmp_value[-1])
summary_dict[key]['Exact match'] +=1
except:
logger.debug('The value %s, was found when collecting summary information for the %s', values, summary_dict[key] )
else:
logger.debug('The value %s, was found when collecting summary information for the %s', values, summary_dict[key] )
summary_sample_list = []
for item in summary_heading_list :
summary_sample_list.append(str(summary_dict[key][item]))
Expand Down

0 comments on commit dc4a1c2

Please sign in to comment.