diff --git a/examples/config.yaml b/examples/config.yaml index d3bf9f950994d53a58988b9acb64c32b091e0e21..c2cf54e68edd6b3e1a74cbf34ee89c6400897100 100644 --- a/examples/config.yaml +++ b/examples/config.yaml @@ -1,4 +1,4 @@ -# - Configuration file stored 2023-11-21 15:48:11.683307 - +# - Configuration file stored 2023-11-21 16:06:33.434192 - CaptDeviceConfig: #!!python/object:controller.CaptDeviceConfig sample_rate: 50000 # Sample rate: Sample rate of the device streaming_rate: 500 # Streaming rate: Streaming rate in Hz (should be below 1kHz) diff --git a/examples/main.py b/examples/main.py index d91a43c25f3729285069671f48e7edf22a00a095..3f60687e8a2f239b18ab4c7c46349c2632946551 100644 --- a/examples/main.py +++ b/examples/main.py @@ -2,7 +2,7 @@ import logging import sys import os -sys.path.append('..') +sys.path.append('../src') from PySide6.QtWidgets import QApplication from rich.logging import RichHandler diff --git a/src/CaptDeviceControl/adcaptdevicecontrol/.idea/adcaptdevicecontrol.iml b/src/CaptDeviceControl/adcaptdevicecontrol/.idea/adcaptdevicecontrol.iml deleted file mode 100644 index 57ba5345331891a7cf30fd4d10c2d303451fc051..0000000000000000000000000000000000000000 --- a/src/CaptDeviceControl/adcaptdevicecontrol/.idea/adcaptdevicecontrol.iml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<module type="PYTHON_MODULE" version="4"> - <component name="NewModuleRootManager"> - <content url="file://$MODULE_DIR$"> - <excludeFolder url="file://$MODULE_DIR$/.venv_Chris_PC" /> - </content> - <orderEntry type="jdk" jdkName="Python 3.10 (adcaptdevicecontrol)" jdkType="Python SDK" /> - <orderEntry type="sourceFolder" forTests="false" /> - </component> -</module> \ No newline at end of file diff --git a/src/CaptDeviceControl/controller/__init__.py b/src/CaptDeviceControl/controller/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..2930a2a4e4ce060c8c619c4e63186e106efbcfcd --- /dev/null +++ b/src/CaptDeviceControl/controller/__init__.py @@ -0,0 +1,4 @@ +import os +import sys + +sys.path.append(os.path.join(os.path.dirname(__file__), '../')) \ No newline at end of file diff --git a/src/CaptDeviceControl/model/__init__.py b/src/CaptDeviceControl/model/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..2930a2a4e4ce060c8c619c4e63186e106efbcfcd --- /dev/null +++ b/src/CaptDeviceControl/model/__init__.py @@ -0,0 +1,4 @@ +import os +import sys + +sys.path.append(os.path.join(os.path.dirname(__file__), '../')) \ No newline at end of file diff --git a/src/CaptDeviceControl/view/__init__.py b/src/CaptDeviceControl/view/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..2930a2a4e4ce060c8c619c4e63186e106efbcfcd --- /dev/null +++ b/src/CaptDeviceControl/view/__init__.py @@ -0,0 +1,4 @@ +import os +import sys + +sys.path.append(os.path.join(os.path.dirname(__file__), '../')) \ No newline at end of file