From aef656b0e1255d4009e285af500b72964e0a8962 Mon Sep 17 00:00:00 2001 From: Tieqiong Zhang Date: Thu, 26 Dec 2024 09:57:48 -0500 Subject: [PATCH 1/2] replace danse links (without documentations) --- AUTHORS.rst | 7 ++++--- src/diffpy/pdfgui/gui/aboutdialog.py | 2 +- tests/test_aboutdialog.py | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index 739f2f4b..8d20fa4f 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -4,9 +4,10 @@ Authors DiffPy was initiated as part of the Distributed Data Analysis of Neutron Scattering Experiments (DANSE) project, funded by the National Science Foundation under grant DMR-0520547. More information on DANSE can be -found at http://danse.us. Any opinions, findings, and conclusions or -recommendations expressed in this material are those of the author(s) -and do not necessarily reflect the views of the NSF. +found at `DANSE Project Legacy Page `_. +Any opinions, findings, and conclusions or recommendations expressed +in this material are those of the author(s) and do not necessarily reflect +the views of the NSF. Main Contributors ----------------- diff --git a/src/diffpy/pdfgui/gui/aboutdialog.py b/src/diffpy/pdfgui/gui/aboutdialog.py index a15c0d7f..589e6569 100644 --- a/src/diffpy/pdfgui/gui/aboutdialog.py +++ b/src/diffpy/pdfgui/gui/aboutdialog.py @@ -221,7 +221,7 @@ def onNsfLogo(self, event): # wxGlade: DialogAbout. event.Skip() def onDanseLogo(self, event): # wxGlade: DialogAbout. - launchBrowser("http://danse.us") + launchBrowser("https://www.its.caltech.edu/~matsci/btf/DANSE_web_page.html") event.Skip() def onMsuLogo(self, event): # wxGlade: DialogAbout. diff --git a/tests/test_aboutdialog.py b/tests/test_aboutdialog.py index 532bd2e8..547821a3 100644 --- a/tests/test_aboutdialog.py +++ b/tests/test_aboutdialog.py @@ -53,7 +53,7 @@ def test_LogoClicks(self): self._clickbutton(d.bitmap_button_nsf) self.assertTrue(self.url.endswith("www.nsf.gov")) self._clickbutton(d.bitmap_button_danse) - self.assertTrue(self.url.endswith("danse.us")) + self.assertTrue(self.url.endswith("www.its.caltech.edu/~matsci/btf/DANSE_web_page.html")) self._clickbutton(d.bitmap_button_msu) self.assertTrue(self.url.endswith("www.msu.edu")) self._clickbutton(d.bitmap_button_columbia) From a52ab22b93d8a221f74fbf1d61a9e6576e7038ce Mon Sep 17 00:00:00 2001 From: Tieqiong Zhang Date: Thu, 26 Dec 2024 10:19:19 -0500 Subject: [PATCH 2/2] add news --- news/danselink.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 news/danselink.rst diff --git a/news/danselink.rst b/news/danselink.rst new file mode 100644 index 00000000..1657f426 --- /dev/null +++ b/news/danselink.rst @@ -0,0 +1,23 @@ +**Added:** + +* no news: small changes to links + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* + +**Security:** + +*