From 3a41e13fdfed1e2bb532501ac97ed763c5ce66a4 Mon Sep 17 00:00:00 2001 From: "Ryan@SOLARIS_testStation" Date: Wed, 6 Nov 2024 16:59:34 -0500 Subject: [PATCH] move python source file to Cleopatra --- .vscode/settings.json | 5 ++++- {PyGUIQt6 => Cleopatra}/CustomTextEdit.py | 0 {PyGUIQt6 => Cleopatra}/ExWindow.py | 0 {PyGUIQt6 => Cleopatra}/ExtractXsecPy.py | 0 {PyGUIQt6 => Cleopatra}/IAEANuclearData.py | 0 {PyGUIQt6 => Cleopatra}/MatPlotLibWindow.py | 0 {PyGUIQt6 => Cleopatra}/PlotWindow.py | 0 PyGUIQt6/PtolemyGUIPy.py | 4 ++-- 8 files changed, 6 insertions(+), 3 deletions(-) rename {PyGUIQt6 => Cleopatra}/CustomTextEdit.py (100%) rename {PyGUIQt6 => Cleopatra}/ExWindow.py (100%) rename {PyGUIQt6 => Cleopatra}/ExtractXsecPy.py (100%) rename {PyGUIQt6 => Cleopatra}/IAEANuclearData.py (100%) rename {PyGUIQt6 => Cleopatra}/MatPlotLibWindow.py (100%) rename {PyGUIQt6 => Cleopatra}/PlotWindow.py (100%) diff --git a/.vscode/settings.json b/.vscode/settings.json index cb35d50..784a5a5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,8 @@ { "files.associations": { "InFileCreator.C": "cpp" - } + }, + "python.analysis.extraPaths": [ + "./Cleopatra" + ] } \ No newline at end of file diff --git a/PyGUIQt6/CustomTextEdit.py b/Cleopatra/CustomTextEdit.py similarity index 100% rename from PyGUIQt6/CustomTextEdit.py rename to Cleopatra/CustomTextEdit.py diff --git a/PyGUIQt6/ExWindow.py b/Cleopatra/ExWindow.py similarity index 100% rename from PyGUIQt6/ExWindow.py rename to Cleopatra/ExWindow.py diff --git a/PyGUIQt6/ExtractXsecPy.py b/Cleopatra/ExtractXsecPy.py similarity index 100% rename from PyGUIQt6/ExtractXsecPy.py rename to Cleopatra/ExtractXsecPy.py diff --git a/PyGUIQt6/IAEANuclearData.py b/Cleopatra/IAEANuclearData.py similarity index 100% rename from PyGUIQt6/IAEANuclearData.py rename to Cleopatra/IAEANuclearData.py diff --git a/PyGUIQt6/MatPlotLibWindow.py b/Cleopatra/MatPlotLibWindow.py similarity index 100% rename from PyGUIQt6/MatPlotLibWindow.py rename to Cleopatra/MatPlotLibWindow.py diff --git a/PyGUIQt6/PlotWindow.py b/Cleopatra/PlotWindow.py similarity index 100% rename from PyGUIQt6/PlotWindow.py rename to Cleopatra/PlotWindow.py diff --git a/PyGUIQt6/PtolemyGUIPy.py b/PyGUIQt6/PtolemyGUIPy.py index 0a24d44..e56183b 100755 --- a/PyGUIQt6/PtolemyGUIPy.py +++ b/PyGUIQt6/PtolemyGUIPy.py @@ -10,10 +10,10 @@ from PyQt6.QtWidgets import ( QFileDialog, QGroupBox, QVBoxLayout, QSpinBox, QDoubleSpinBox ) from PyQt6.QtCore import Qt -from PyQt6.QtGui import QTextCursor + +sys.path.append(os.path.join(os.path.dirname(__file__), '../Cleopatra')) from CustomTextEdit import CustomTextEdit - from ExtractXsecPy import extract_xsec from ExWindow import ExWindow from MatPlotLibWindow import MatPlotLibWindow