Skip to content

Commit

Permalink
Merge pull request #14 from larus-breeze/easy_analysis_plots
Browse files Browse the repository at this point in the history
Easy analysis plots
  • Loading branch information
MaxBaex authored Dec 21, 2024
2 parents 21a45b7 + ade63ac commit 524287e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion analysis/README_create_binary.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- Linux: ```source myvenv/bin/activate```
- Windows: ```.\myvenv/Scripts/activate.ps1```
- Install dependencies with ```pip install -r requirements.txt```
- Create binary with pyinstaller analysis_plots.py
- Create binary with pyinstaller larus_analyzer.py

# Create updates sensor_data_analyzer binaries
The files data_analyzer_commit_*_[linux|windos.exe] are binaries from the
Expand Down
2 changes: 2 additions & 0 deletions analysis/_internal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Sensor data analyzer - binaries
The files here are compiled versions of the ../sensor_data_analyzer/ for different platforms
File renamed without changes.
2 changes: 1 addition & 1 deletion analysis/analysis_plots.py → analysis/larus_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def export_csv(self):
self.waitingWidget.setWindowTitle("Saving data")

# Create a label with a message
label = QLabel("Please wait...")
label = QLabel("Please wait!\nthis will take \nsome minutes")

dialog_layout = QVBoxLayout()
dialog_layout.addWidget(label)
Expand Down
4 changes: 2 additions & 2 deletions analysis/larus_to_df.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def __init__(self, file):
raise Exception("There must be a {} file".format(eeprom_file_path))

if "linux" in sys.platform:
subprocess.call(["{}/data_analyzer_commit_6598331_linux".format(os.getcwd()), file])
subprocess.call(["{}/_internal/data_analyzer_commit_6598331_linux".format(os.getcwd()), file])
elif "win" in sys.platform:
subprocess.call(["{}/data_analyzer_commit_6598331_windows.exe".format(os.getcwd()), file])
subprocess.call(["{}/_internal/data_analyzer_commit_6598331_windows.exe".format(os.getcwd()), file])
else:
raise Exception("Platform not supported: {}".format(sys.platform))

Expand Down

0 comments on commit 524287e

Please sign in to comment.