<commit_before>' -----------------------------------------------------------------------------
'
' Installation script for Lisa Tauxe's PmagPy Python Package
' Written by <NAME>, Ph.D.
' Last updated 11/24/2014
'
' -----------------------------------------------------------------------------

On Error Resume Next

' Create objects needed in this script
Set Shell = WScript.CreateObject("WScript.Shell")
Set FileSystemObject = WScript.CreateObject("Scripting.FileSystemObject")

' Retrieve the user's "My Documents" path
' NOTE: unlike "%UserProfile%\Documents\", this will handle international
'       and older versions of Windows
my_documents_path = Shell.SpecialFolders("MyDocuments")

' Construct the default installation path
installation_path = my_documents_path & "\PmagPy"

' Confirm that the default installation path should be used
installation_path_prompted = False
While Not installation_path_prompted Or Vartype(installation_path) = 0 Or installation_path = ""

	installation_path_prompted = True
	installation_path = InputBox("Install PmagPy to the default directory (your 'My Documents' directory)? " & _ 
	                             vbNewLine & vbNewline & _ 
	                             "If not, please edit the installation path below and press 'OK'.", _
	                             "PmagPy Installation Directory", installation_path)

	'Warn that the installation path is invalid
	If Vartype(installation_path) = 0 Or installation_path = "" Then 
		x = MsgBox("The installation path is invalid. Please restart the the PmagPy installation.", 16, "Invalid Installation Path")
	End If
<commit_msg>Fix typo in "PmagPy Installation Error" message<commit_after>' -----------------------------------------------------------------------------
'
' Installation script for Lisa Tauxe's PmagPy Python Package
' Written by <NAME>, Ph.D.
' Last updated 11/24/2014
'
' -----------------------------------------------------------------------------

On Error Resume Next

' Create objects needed in this script
Set Shell = WScript.CreateObject("WScript.Shell")
Set FileSystemObject = WScript.CreateObject("Scripting.FileSystemObject")

' Retrieve the user's "My Documents" path
' NOTE: unlike "%UserProfile%\Documents\", this will handle international
'       and older versions of Windows
my_documents_path = Shell.SpecialFolders("MyDocuments")

' Construct the default installation path
installation_path = my_documents_path & "\PmagPy"

' Confirm that the default installation path should be used
installation_path_prompted = False
While Not installation_path_prompted Or Vartype(installation_path) = 0 Or installation_path = ""

	installation_path_prompted = True
	installation_path = InputBox("Install PmagPy to the default directory (your 'My Documents' directory)? " & _ 
	                             vbNewLine & vbNewline & _ 
	                             "If not, please edit the installation path below and press 'OK'.", _
	                             "PmagPy Installation Directory", installation_path)

	'Warn that the installation path is invalid
	If Vartype(installation_path) = 0 Or installation_path = "" Then 
		x = MsgBox("The installation path is invalid. Please restart the PmagPy installation.", 16, "Invalid Installation Path")
	End If

{'fraction_non_alphanumeric': 0.16136919315403422, 'fraction_numerical': 0.007334963325183374, 'mean_word_length': 2.549891540130152, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2053834', 'n_tokens_mistral': 850, 'n_tokens_neox': 781, 'n_words': 285}