Skip to content
Snippets Groups Projects
Verified Commit fc45de4d authored by Marco De Donno's avatar Marco De Donno
Browse files

Add the check of the NIST files (Readme and example script)

parent bb51ad32
No related branches found
No related tags found
No related merge requests found
......@@ -157,3 +157,13 @@ Once the script has been read and updated as needed, it can be run with a `pytho
This script will take one directory as input, load all the files, remove all the PII informations, and write the files in a second directory.
# Check the cleaning process
To check the content of the NIST file, use the `check_nist_file.py` script.
This file should be updated to point the `nist_file_path` to the file on disk.
By printing the `nist_file` object, the content of the file is outputted to the console.
All the fields are displayed, on the left the field tag, and on the right the content of the field.
If one field present in the output should be delete, update the `clean_files.py` file accordingly.
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from NIST import NISTf
nist_file_path = ""
nist_file = NISTf( nist_file_path )
print( nist_file )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment