From 9f376ba622bf59a9083499c40dcf27f798e73f5b Mon Sep 17 00:00:00 2001 From: Filippo Ballerini Date: Fri, 11 Oct 2024 16:40:00 -0400 Subject: [PATCH 1/5] edit README --- README.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.rst b/README.rst index 58f2269..7e1c04b 100644 --- a/README.rst +++ b/README.rst @@ -128,3 +128,6 @@ Contact ------- For more information on diffpy.fourigui please visit the project `web-page `_ or email Prof. Simon Billinge at sb2896@columbia.edu. + + +This is a test \ No newline at end of file From ed013ad76fe54707250f89e35025d96aac5bd09f Mon Sep 17 00:00:00 2001 From: Filippo Ballerini Date: Tue, 15 Oct 2024 15:33:27 -0400 Subject: [PATCH 2/5] correction --- README.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.rst b/README.rst index 7e1c04b..58f2269 100644 --- a/README.rst +++ b/README.rst @@ -128,6 +128,3 @@ Contact ------- For more information on diffpy.fourigui please visit the project `web-page `_ or email Prof. Simon Billinge at sb2896@columbia.edu. - - -This is a test \ No newline at end of file From 76fea3d6211f56333cc1028ded999c55ad7e47e0 Mon Sep 17 00:00:00 2001 From: Filippo Ballerini Date: Wed, 30 Oct 2024 11:21:50 -0400 Subject: [PATCH 3/5] Fixed typos in docstring and comment in README.rst and fourigui.py --- README.rst | 2 +- src/diffpy/fourigui/fourigui.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 58f2269..59d4854 100644 --- a/README.rst +++ b/README.rst @@ -122,7 +122,7 @@ trying to commit again. Improvements and fixes are always appreciated. -Before contribuing, please read our `Code of Conduct `_. +Before contributing, please read our `Code of Conduct `_. Contact ------- diff --git a/src/diffpy/fourigui/fourigui.py b/src/diffpy/fourigui/fourigui.py index f0323f1..1a8ec74 100755 --- a/src/diffpy/fourigui/fourigui.py +++ b/src/diffpy/fourigui/fourigui.py @@ -461,7 +461,7 @@ def applycutoff(self): reassign all voxels with distance smaller than qmin and greater than qmax from the central voxel to 0.0 qmin, qmax is loaded from the qmin, qmax input panel - currently opperates in units of pixels + currently operates in units of pixels """ if not self.cutted: From c3ce993847530d9022161da984fcf9dd8ffa64dc Mon Sep 17 00:00:00 2001 From: Filippo Ballerini Date: Wed, 30 Oct 2024 16:09:00 -0400 Subject: [PATCH 4/5] Added comments under **Fixed:** in doc.rst --- news/doc.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 news/doc.rst diff --git a/news/doc.rst b/news/doc.rst new file mode 100644 index 0000000..1db0a6f --- /dev/null +++ b/news/doc.rst @@ -0,0 +1,24 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +Fixed 1 typo in README.rst +Fixed 1 typo in fourigui.py + +**Security:** + +* From b6c8f611a7b17ba657bcd91e350b832fa8e5245d Mon Sep 17 00:00:00 2001 From: Filippo Ballerini Date: Wed, 30 Oct 2024 17:12:13 -0400 Subject: [PATCH 5/5] Fixed typos in docstring and comment in README.rst and fourigui.py --- .pre-commit-config.yaml | 8 ++++---- news/doc.rst | 24 ++++++++++++++++++++++++ src/diffpy/fourigui/fourigui.py | 2 +- 3 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 news/doc.rst diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3070e19..ea203df 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ ci: submodules: false repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-yaml - id: end-of-file-fixer @@ -21,11 +21,11 @@ repos: - id: check-toml - id: check-added-large-files - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 - repo: https://github.com/pycqa/isort @@ -38,7 +38,7 @@ repos: hooks: - id: nbstripout - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: no-commit-to-branch name: Prevent Commit to Main Branch diff --git a/news/doc.rst b/news/doc.rst new file mode 100644 index 0000000..1db0a6f --- /dev/null +++ b/news/doc.rst @@ -0,0 +1,24 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +Fixed 1 typo in README.rst +Fixed 1 typo in fourigui.py + +**Security:** + +* diff --git a/src/diffpy/fourigui/fourigui.py b/src/diffpy/fourigui/fourigui.py index f0323f1..1a8ec74 100755 --- a/src/diffpy/fourigui/fourigui.py +++ b/src/diffpy/fourigui/fourigui.py @@ -461,7 +461,7 @@ def applycutoff(self): reassign all voxels with distance smaller than qmin and greater than qmax from the central voxel to 0.0 qmin, qmax is loaded from the qmin, qmax input panel - currently opperates in units of pixels + currently operates in units of pixels """ if not self.cutted: