From 7d200c83bdb1e962b777ac650f0a6f8d6dbb9831 Mon Sep 17 00:00:00 2001 From: bcalmel <blaise.calmel@inrae.fr> Date: Tue, 9 May 2023 11:01:03 +0200 Subject: [PATCH] Update Licence --- Classes/Intercomparison.py | 18 ++++++++++++++++++ Classes/LoadMeasurements.py | 18 ++++++++++++++++++ README.md | 5 +++-- UI/Columns2Use.py | 18 ++++++++++++++++++ UI/FigDischargeUncertainty.py | 18 ++++++++++++++++++ UI/FigTimeDischarge.py | 18 ++++++++++++++++++ UI/FigUncertaintySources.py | 18 ++++++++++++++++++ UI/Measurements2Use.py | 18 ++++++++++++++++++ UI/MplCanvas.py | 18 ++++++++++++++++++ UI/Options.py | 18 ++++++++++++++++++ UI/SelectDialog.py | 20 +++++++++++++++++++- UI/main.py | 18 ++++++++++++++++++ UI/progress_bar.py | 18 ++++++++++++++++++ 13 files changed, 220 insertions(+), 3 deletions(-) diff --git a/Classes/Intercomparison.py b/Classes/Intercomparison.py index e7e4a32..11cfe10 100644 --- a/Classes/Intercomparison.py +++ b/Classes/Intercomparison.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import pandas as pd import numpy as np from PyQt5.QtCore import pyqtSignal, QThread diff --git a/Classes/LoadMeasurements.py b/Classes/LoadMeasurements.py index 6187ce5..f9ae3e6 100644 --- a/Classes/LoadMeasurements.py +++ b/Classes/LoadMeasurements.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import numpy as np import pandas as pd import copy diff --git a/README.md b/README.md index 76dc913..33e92db 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Windows Executable can be downloaded from https://bit.ly/QRame ## Requirements and Dependencies -QRale is currently being developed using Python 3.9.0 and makes use of the following packages: +QRame is currently being developed using Python 3.9.0 and makes use of the following packages: contourpy==1.0.7 cycler==0.11.0 et-xmlfile==1.1.0 @@ -71,5 +71,6 @@ zipp==3.15.0 ## Author Blaise Calmel -Research Engineer for INRAE Lyon-Grenoble +Research Engineer +INRAE Lyon-Grenoble blaise.calmel@inrae.fr \ No newline at end of file diff --git a/UI/Columns2Use.py b/UI/Columns2Use.py index bec797f..7ef1434 100644 --- a/UI/Columns2Use.py +++ b/UI/Columns2Use.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from PyQt5 import QtWidgets, QtCore, QtGui import wColumns2Use diff --git a/UI/FigDischargeUncertainty.py b/UI/FigDischargeUncertainty.py index 39df8fc..16edaca 100644 --- a/UI/FigDischargeUncertainty.py +++ b/UI/FigDischargeUncertainty.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import seaborn as sns import numpy as np from PyQt5 import QtCore diff --git a/UI/FigTimeDischarge.py b/UI/FigTimeDischarge.py index 53782c9..2321fa3 100644 --- a/UI/FigTimeDischarge.py +++ b/UI/FigTimeDischarge.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import numpy as np from PyQt5 import QtCore from datetime import datetime diff --git a/UI/FigUncertaintySources.py b/UI/FigUncertaintySources.py index 40046d6..222db54 100644 --- a/UI/FigUncertaintySources.py +++ b/UI/FigUncertaintySources.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from PyQt5 import QtCore diff --git a/UI/Measurements2Use.py b/UI/Measurements2Use.py index dd716a3..6e434c2 100644 --- a/UI/Measurements2Use.py +++ b/UI/Measurements2Use.py @@ -2,6 +2,24 @@ import copy from PyQt5 import QtWidgets, QtCore, QtGui import wMeasurements2Use +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from MiscLibs.common_functions import scientific_notation class Measurements2Use(QtWidgets.QDialog, wMeasurements2Use.Ui_Measurements2Use): diff --git a/UI/MplCanvas.py b/UI/MplCanvas.py index bcd322f..c6b17ad 100644 --- a/UI/MplCanvas.py +++ b/UI/MplCanvas.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from PyQt5 import QtWidgets from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.figure import Figure diff --git a/UI/Options.py b/UI/Options.py index 5f57f19..a21b772 100644 --- a/UI/Options.py +++ b/UI/Options.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from PyQt5 import QtWidgets, QtGui import wOptions diff --git a/UI/SelectDialog.py b/UI/SelectDialog.py index 64db42e..07b0bde 100644 --- a/UI/SelectDialog.py +++ b/UI/SelectDialog.py @@ -1,9 +1,27 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import os import glob import numpy as np import scipy.io as sio from PyQt5.QtWidgets import QDialog, QFileDialog, QMessageBox, QApplication -from PyQt5.QtCore import QCoreApplication, Qt +from PyQt5.QtCore import Qt class SelectFolderDialog(QDialog): diff --git a/UI/main.py b/UI/main.py index 3e30f7a..7b7196f 100644 --- a/UI/main.py +++ b/UI/main.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + import os import sys import copy diff --git a/UI/progress_bar.py b/UI/progress_bar.py index 0db0ec1..4e6ce63 100644 --- a/UI/progress_bar.py +++ b/UI/progress_bar.py @@ -1,3 +1,21 @@ +""" +QRame +Copyright (C) 2023 INRAE + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <https://www.gnu.org/licenses/>. +""" + from PyQt5 import QtWidgets, QtCore from PyQt5.QtWidgets import QMessageBox -- GitLab