Skip to content

Commit

Permalink
👷 Add copyright to files
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jun 25, 2024
1 parent 44bae38 commit 40c2027
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 11 deletions.
3 changes: 2 additions & 1 deletion AIMA - MiniCyc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ start /b python main.py
echo [STEP 6/6] Opening Grafana...
start http://localhost:3000

@pause
@pause
:: © AIMA DEVELOPPEMENT 2024
3 changes: 2 additions & 1 deletion grafanaStreaming/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ services:
- "8000:8000"

volumes:
grafana-storage:
grafana-storage:
# © AIMA DEVELOPPEMENT 2024
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,5 @@ def plotting(parent, title, num_of_lines, legend_labels):
except Exception as e:
print("No pico device detected : "+str(e))

sys.exit(app.exec())
sys.exit(app.exec())
# © AIMA DEVELOPPEMENT 2024
3 changes: 2 additions & 1 deletion scripts/deviceLibs/picoDevices.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,5 @@ def get_pico_list():
for device in found:
device_list.append(
"PicoScope " + device.variant + " with serial " + device.serial)
return device_list
return device_list
# © AIMA DEVELOPPEMENT 2024
3 changes: 2 additions & 1 deletion scripts/deviceLibs/serialDevices.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ def get_serial_list():
available_ports = []
for port in ports:
available_ports.append(port.device)
return available_ports
return available_ports
# © AIMA DEVELOPPEMENT 2024
3 changes: 2 additions & 1 deletion scripts/deviceLibs/visaDevices.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,5 @@ def QueryCmd(self, cmd):
"""
if self.echoCmd == 1:
print(cmd)
return self.myInstr.query(cmd)
return self.myInstr.query(cmd)
# © AIMA DEVELOPPEMENT 2024
3 changes: 2 additions & 1 deletion scripts/devicesLink.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ def list_all_devices():
devices += get_pico_list()
devices += get_serial_list()

return devices
return devices
# © AIMA DEVELOPPEMENT 2024
3 changes: 2 additions & 1 deletion scripts/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,5 @@ def get_latest_csv_file(directory):
latest_file = file
latest_time = file_time

return latest_file
return latest_file
# © AIMA DEVELOPPEMENT 2024
3 changes: 2 additions & 1 deletion scripts/realTimePlotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,5 @@ def closeEvent(self, event):
"""
self.running = False
self.thread.join()
event.accept()
event.accept()
# © AIMA DEVELOPPEMENT 2024
3 changes: 2 additions & 1 deletion scripts/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,5 @@ def does_setting_exist(self, setting):
s, _ = line.strip().split(" = ")
if s == setting:
return True
return False
return False
# © AIMA DEVELOPPEMENT 2024
3 changes: 2 additions & 1 deletion utils/addCopyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ def main():
add_comment_to_file(file_path, comment)

if __name__ == "__main__":
main()
main()
# © AIMA DEVELOPPEMENT 2024

0 comments on commit 40c2027

Please sign in to comment.