Skip to content
Snippets Groups Projects

Various fixes

Merged SIMAILA DJALIM requested to merge fix into main
  1. May 26, 2023
    • Djalim Simaila's avatar
      :bookmark: chore(SettingManager.py): update version to 1.2.2 · 1f35730f
      Djalim Simaila authored
      The version number in SettingManager.py has been updated to 1.2.2. This is a chore commit as it does not introduce any new features or bug fixes, but rather updates the version number to reflect the current state of the code.
      1f35730f
    • Djalim Simaila's avatar
      :bug: fix(data_processing.py): add missing computation of L in get_advanced_data function · f0de315d
      Djalim Simaila authored
      :sparkles: feat(data_processing.py): add raw_data parameter to get_advanced_data function to improve flexibility
      The L variable was not being computed in the get_advanced_data function, which is necessary for the calculation of the tortuosity. The raw_data parameter was added to the get_advanced_data function to improve flexibility and allow for more advanced calculations to be performed.
      
      :bug: fix(input.py): add filename attribute to ScannedObject class
      The filename attribute was not being set in the ScannedObject class, which is necessary for generating the output file headers.
      
      :sparkles: feat(output.py): add function to generate headers for output file
      The generate_headers function was added to generate the headers for the output file. The headers include the filename, date, version, discretisation method, and whether the data was verticalised.
      
      :rocket: chore(MainWindow.py): enable process_advanced_data function
      
      :art: style(MainWindow.ui, UI_MainWindow.py): adjust GUI layout and label text for better user experience
      The GUI layout has been adjusted to improve the user experience. The window width has been reduced from 1419 to 1336 pixels to better fit the screen. The minimum and maximum sizes of the MainSettings widget have been increased from 518 to 600 pixels to allow for more space for the labels. The labels have been updated to include the units of measurement to improve clarity.
      
      :bug: fix(AdvancedDataWorker.py): add raw_data parameter to __init__ method
      :sparkles: feat(AdvancedDataWorker.py): add support for raw data processing in get_advanced_data method
      The AdvancedDataWorker class now has a raw_data parameter in its __init__ method, which is used in the get_advanced_data method. This allows for raw data processing in addition to the existing discrete data processing.
      
      :bug: fix(DiscreteDataWorker.py): generate headers before formatting data
      :sparkles: feat(DiscreteDataWorker.py): add support for generating headers in output file
      The DiscreteDataWorker class now generates headers for the output file if the add_headers setting is enabled. The headers are generated before formatting the data to ensure that the headers are included in the output file.
      
      :bug: fix(PreProcessWorker.py): set filename of ScannedObject
      The PreProcessWorker class now sets the filename of the ScannedObject to the basename
      
      :art: style(UI_Settings.py): reorganize widgets in the settings UI for better readability
      :bug: fix(data_extraction.py): fix standard deviation calculation to use unbiased estimator
      :wrench: chore(SettingManager.py): add "add_headers" setting with default value of True
      The changes in UI_Settings.py are purely cosmetic and do not affect the functionality of the code. The fix in data_extraction.py corrects the standard deviation calculation to use the unbiased estimator. The addition of the "add_headers" setting in SettingManager.py allows for the addition of headers to output files.
      f0de315d
Loading