From 4ceb33c9193e56c3637057fd403022d07202d6a4 Mon Sep 17 00:00:00 2001 From: Prateek Bhustali Date: Mon, 23 May 2022 13:14:00 +0200 Subject: [PATCH] Changed Chatterjee module name to CamelCase --- docs/code/sensitivity/chatterjee/plot_chatterjee_exponential.py | 2 +- docs/code/sensitivity/chatterjee/plot_chatterjee_ishigami.py | 2 +- docs/code/sensitivity/chatterjee/plot_chatterjee_sobol_func.py | 2 +- src/UQpy/sensitivity/{chatterjee.py => Chatterjee.py} | 0 src/UQpy/sensitivity/__init__.py | 2 +- tests/unit_tests/sensitivity/test_chatterjee.py | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename src/UQpy/sensitivity/{chatterjee.py => Chatterjee.py} (100%) diff --git a/docs/code/sensitivity/chatterjee/plot_chatterjee_exponential.py b/docs/code/sensitivity/chatterjee/plot_chatterjee_exponential.py index 81d75265..8fa87984 100644 --- a/docs/code/sensitivity/chatterjee/plot_chatterjee_exponential.py +++ b/docs/code/sensitivity/chatterjee/plot_chatterjee_exponential.py @@ -21,7 +21,7 @@ from UQpy.run_model.model_execution.PythonModel import PythonModel from UQpy.distributions import Normal from UQpy.distributions.collection.JointIndependent import JointIndependent -from UQpy.sensitivity.chatterjee import Chatterjee +from UQpy.sensitivity.Chatterjee import Chatterjee # %% [markdown] # **Define the model and input distributions** diff --git a/docs/code/sensitivity/chatterjee/plot_chatterjee_ishigami.py b/docs/code/sensitivity/chatterjee/plot_chatterjee_ishigami.py index d3759fc1..448309e3 100644 --- a/docs/code/sensitivity/chatterjee/plot_chatterjee_ishigami.py +++ b/docs/code/sensitivity/chatterjee/plot_chatterjee_ishigami.py @@ -21,7 +21,7 @@ from UQpy.run_model.model_execution.PythonModel import PythonModel from UQpy.distributions import Uniform from UQpy.distributions.collection.JointIndependent import JointIndependent -from UQpy.sensitivity.chatterjee import Chatterjee +from UQpy.sensitivity.Chatterjee import Chatterjee # %% [markdown] # **Define the model and input distributions** diff --git a/docs/code/sensitivity/chatterjee/plot_chatterjee_sobol_func.py b/docs/code/sensitivity/chatterjee/plot_chatterjee_sobol_func.py index 0169597e..439ffaa8 100644 --- a/docs/code/sensitivity/chatterjee/plot_chatterjee_sobol_func.py +++ b/docs/code/sensitivity/chatterjee/plot_chatterjee_sobol_func.py @@ -32,7 +32,7 @@ from UQpy.run_model.model_execution.PythonModel import PythonModel from UQpy.distributions import Uniform from UQpy.distributions.collection.JointIndependent import JointIndependent -from UQpy.sensitivity.chatterjee import Chatterjee +from UQpy.sensitivity.Chatterjee import Chatterjee # %% [markdown] # **Define the model and input distributions** diff --git a/src/UQpy/sensitivity/chatterjee.py b/src/UQpy/sensitivity/Chatterjee.py similarity index 100% rename from src/UQpy/sensitivity/chatterjee.py rename to src/UQpy/sensitivity/Chatterjee.py diff --git a/src/UQpy/sensitivity/__init__.py b/src/UQpy/sensitivity/__init__.py index e25335a3..01d399fd 100644 --- a/src/UQpy/sensitivity/__init__.py +++ b/src/UQpy/sensitivity/__init__.py @@ -2,7 +2,7 @@ from UQpy.sensitivity.PceSensitivity import PceSensitivity from UQpy.sensitivity.sobol import Sobol from UQpy.sensitivity.cramer_von_mises import CramervonMises -from UQpy.sensitivity.chatterjee import Chatterjee +from UQpy.sensitivity.Chatterjee import Chatterjee from UQpy.sensitivity.generalised_sobol import GeneralisedSobol from . import MorrisSensitivity diff --git a/tests/unit_tests/sensitivity/test_chatterjee.py b/tests/unit_tests/sensitivity/test_chatterjee.py index 8a7c6495..5912cdb2 100644 --- a/tests/unit_tests/sensitivity/test_chatterjee.py +++ b/tests/unit_tests/sensitivity/test_chatterjee.py @@ -49,7 +49,7 @@ from UQpy.run_model.model_execution.PythonModel import PythonModel from UQpy.distributions import Uniform, Normal from UQpy.distributions.collection.JointIndependent import JointIndependent -from UQpy.sensitivity.chatterjee import Chatterjee +from UQpy.sensitivity.Chatterjee import Chatterjee # Prepare