<jupyter_start><jupyter_text>[![Notebook Tutorial](__code/__all/notebook_tutorial.png)](https://neutronimaging.pages.ornl.gov/tutorial/notebooks/mcp_chips_corrector)  Select Your IPTS<jupyter_code>import warnings
warnings.filterwarnings('ignore')

from __code import system
from __code.mcp_chips_corrector.mcp_chips_corrector import McpChipsCorrector
from __code.mcp_chips_corrector.interface import Interface
system.System.select_working_dir()
from __code.__all import custom_style
custom_style.style()<jupyter_output><empty_output><jupyter_text>UI Setup<jupyter_code>%gui qt<jupyter_output><empty_output><jupyter_text>Select MCP data corrected folder<jupyter_code>o_corrector = McpChipsCorrector(working_dir = system.System.get_working_dir())
o_corrector.select_folder()<jupyter_output><empty_output><jupyter_text>Launch UI<jupyter_code>o_interface = Interface(o_corrector=o_corrector)
o_interface.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09722222222222222, 'fraction_numerical': 0.0, 'mean_word_length': 13.196969696969697, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '284457', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 354, 'n_tokens_neox': 346, 'n_words': 37, 'path': 'notebooks/mcp_chips_corrector.ipynb', 'repo_name': 'mabrahamdevops/python_notebooks', 'size': '936'}