Skip to content

Commit 4c786bd

Browse files
authored
Update and rename ProcessMultipleExcelTables_FromAivia_v1_20.py to ProcessMultipleExcelTables_FromAivia.py
1 parent 43a4629 commit 4c786bd

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

Utilities/ProcessMultipleExcelTables_FromAivia_v1_20.py renamed to Utilities/ProcessMultipleExcelTables_FromAivia.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
parentFolder = str(Path(__file__).parent.parent)
77
activate_path = parentFolder + '\\env\\Scripts\\activate_this.py'
88

9-
activate_path = r'D:\PythonCode\Python_scripts\Projects\PythonVenvForAivia\env\Scripts\activate_this.py' # TODO: test line to remove!
10-
119
if os.path.exists(activate_path):
1210
exec(open(activate_path).read(), {'__file__': activate_path})
1311
print(f'Aivia virtual environment activated\nUsing python: {activate_path}')
@@ -28,8 +26,7 @@
2826
import openpyxl.utils.cell
2927

3028
# Folder to quickly run the script on all Excel files in it
31-
DEFAULT_FOLDER = "" # "D:\\PythonCode\\Python_scripts\\Projects\\ExcelFileHandling\\tests"
32-
DEFAULT_FOLDER = r"D:\Aivia Working Directory\_Customers\BE\Algist\22-07-04 For Training\Batch\2022-08-13-01-19-57 Workflow Living and Dead"
29+
DEFAULT_FOLDER = "" # example: r"D:\PythonCode\Python_scripts\Projects\ExcelFileHandling"
3330

3431
# Default action when combining multiple spreadsheets (see difference in scenario A and B below). False = A, True = B
3532
do_multiple_files_as_cols = False
@@ -440,14 +437,3 @@ def Mbox(title, text, style):
440437
if __name__ == '__main__':
441438
params = {}
442439
run(params)
443-
444-
# Changelog:
445-
# v1.00: - using wxPython for the file picker, multiple sheets stored as dictionary of DataFrames (keys = sheet names)
446-
# v1.01: - Adding default values before def run
447-
# v1.02: - Exception handling when measurement name contains dots: 'Std. Dev. Intensity'
448-
# v1.10: - Adding summary tab if needed with object set count.
449-
# - Handles multiple summary tabs and adds counting and % values
450-
# - Added virtual environment activation
451-
# v1.20: - Renaming script to "Process..."
452-
# - Scenario D (individual process) becomes available for multiple selected files
453-
# - Adding a summary table on top of individual files for scenario D

0 commit comments

Comments
 (0)