Mercurial > repos > pieterlukasse > nist_wrapper
comparison nist_wrapper.py @ 8:35e4707e0ac3
fix
author | pieter.lukasse@wur.nl |
---|---|
date | Thu, 22 Jan 2015 22:07:40 +0100 |
parents | 165c22633081 |
children | 8c20185752da |
comparison
equal
deleted
inserted
replaced
7:165c22633081 | 8:35e4707e0ac3 |
---|---|
309 | 309 |
310 # prepare NIST environment for running: | 310 # prepare NIST environment for running: |
311 new_nist_home = _prepare_NIST(uuid_value, nist_home_dir, nist_ini_file, spectrum_file, is_wine, log_file) | 311 new_nist_home = _prepare_NIST(uuid_value, nist_home_dir, nist_ini_file, spectrum_file, is_wine, log_file) |
312 | 312 |
313 # run NIST search command: | 313 # run NIST search command: |
314 _run_NIST(new_nist_home, nist_output_file, is_wine) | 314 _run_NIST(new_nist_home, nist_output_file, is_wine, log_file) |
315 | 315 |
316 # write output tabular: | 316 # write output tabular: |
317 hits_dict = utils.get_nist_out_as_dict(nist_output_file) | 317 hits_dict = utils.get_nist_out_as_dict(nist_output_file) |
318 utils.save_dict_as_tsv(hits_dict, final_output_file) | 318 utils.save_dict_as_tsv(hits_dict, final_output_file) |
319 | 319 |