Skip to content
Snippets Groups Projects
Commit 9be21198 authored by Christoph Schmidt's avatar Christoph Schmidt
Browse files

Added inits to avoid import problems

parent 56c1d755
No related branches found
No related tags found
No related merge requests found
# - 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 CaptDeviceConfig: #!!python/object:controller.CaptDeviceConfig
sample_rate: 50000 # Sample rate: Sample rate of the device sample_rate: 50000 # Sample rate: Sample rate of the device
streaming_rate: 500 # Streaming rate: Streaming rate in Hz (should be below 1kHz) streaming_rate: 500 # Streaming rate: Streaming rate in Hz (should be below 1kHz)
......
...@@ -2,7 +2,7 @@ import logging ...@@ -2,7 +2,7 @@ import logging
import sys import sys
import os import os
sys.path.append('..') sys.path.append('../src')
from PySide6.QtWidgets import QApplication from PySide6.QtWidgets import QApplication
from rich.logging import RichHandler from rich.logging import RichHandler
......
<?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
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '../'))
\ No newline at end of file
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '../'))
\ No newline at end of file
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '../'))
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment