Skip to content

Commit 2ab32d1

Browse files
authored
Merge pull request #94 from stevenhua0320/clean-file
chore: clean duplicated file
2 parents b6cd401 + f0e31c7 commit 2ab32d1

File tree

10 files changed

+33
-143
lines changed

10 files changed

+33
-143
lines changed

CODE_OF_CONDUCT.rst

Lines changed: 0 additions & 133 deletions
This file was deleted.

news/clean-file.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* No News Added: clean duplicated `Code-Of-Conduct.rst`
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

tests/integration_test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ def setUp(self):
1414
# set up test data
1515
self.test_sofq = h5py.File("tests/testdata/sofq.h5")["data"]
1616
self.test_sofq_cut_10to40px = h5py.File(
17-
"tests/testdata/sofq_cut_10to40px.h5"
17+
"tests/testdata/sofq-cut-10to40px.h5"
1818
)["data"]
1919
self.test_sofq_cut_15to35px = h5py.File(
20-
"tests/testdata/sofq_cut_15to35px.h5"
20+
"tests/testdata/sofq-cut-15to35px.h5"
2121
)["data"]
2222
self.test_gofr = h5py.File("tests/testdata/gofr.h5")["data"]
2323
self.test_gofr_cut_10to40px = h5py.File(
24-
"tests/testdata/gofr_from_sofq_cut_10to40px.h5"
24+
"tests/testdata/gofr-from-sofq-cut-10to40px.h5"
2525
)["data"]
2626
self.test_gofr_cut_15to35px = h5py.File(
27-
"tests/testdata/gofr_from_sofq_cut_15to35px.h5"
27+
"tests/testdata/gofr-from-sofq-cut-15to35px.h5"
2828
)["data"]
2929

3030
def test_load_cube_testdataset1(self):
@@ -43,7 +43,7 @@ def test_load_cube_testdataset2(self):
4343
# given
4444
self.test_gui.filename_entry.delete(0, "end")
4545
self.test_gui.filename_entry.insert(
46-
0, "tests/testdata/sofq_cut_10to40px.h5"
46+
0, "tests/testdata/sofq-cut-10to40px.h5"
4747
)
4848

4949
# when
@@ -62,7 +62,7 @@ def test_load_cube_testdataset3(self):
6262
# given
6363
self.test_gui.filename_entry.delete(0, "end")
6464
self.test_gui.filename_entry.insert(
65-
0, "tests/testdata/sofq_cut_15to35px.h5"
65+
0, "tests/testdata/sofq-cut-15to35px.h5"
6666
)
6767

6868
# when
File renamed without changes.
File renamed without changes.

tests/testdata/make_testdata.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ def dummydata(fname="dummydata.h5"):
4444
f.close()
4545

4646

47-
# cutcube("sofq.h5", "sofq_cut_10to40px.h5", 10, 40)
48-
# cutcube("sofq.h5", "sofq_cut_15to35px.h5", 15, 35)
47+
# cutcube("sofq.h5", "sofq-cut-10to40px.h5", 10, 40)
48+
# cutcube("sofq.h5", "sofq-cut-15to35px.h5", 15, 35)
4949
# fftcube("sofq.h5", "gofr.h5")
50-
# fftcube("sofq_cut_10to40px.h5", "gofr_from_sofq_cut_10to40px.h5")
51-
# fftcube("sofq_cut_15to35px.h5", "gofr_from_sofq_cut_15to35px.h5")
50+
# fftcube("sofq-cut-10to40px.h5", "gofr-from-sofq-cut-10to40px.h5")
51+
# fftcube("sofq-cut-15to35px.h5", "gofr-from-sofq-cut-15to35px.h5")
5252
dummydata()

0 commit comments

Comments
 (0)