Skip to content

Commit 3c9c653

Browse files
Ciheim BrownCiheim Brown
authored andcommitted
Moving files out of test directory
1 parent b90f4bd commit 3c9c653

File tree

7 files changed

+3
-174
lines changed

7 files changed

+3
-174
lines changed

.github/workflows/conda-env-create-run-pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Make sample data
3333
run: |
3434
which python
35-
python catalogbuilder/tests/make_sample_data.py
35+
python catalogbuilder/scripts/make_sample_data.py
3636
3737
- name: Generate catalog
3838
run: |

catalogbuilder/tests/config-cfname.yaml

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

catalogbuilder/tests/config-mdtf.yaml

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

catalogbuilder/tests/make_sample_data.py

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

catalogbuilder/tests/subdirs.py

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

catalogbuilder/tests/test_create_catalog.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
def test_create_catalog():
22
from pathlib import Path
33
import catalogbuilder
4-
from catalogbuilder.scripts import gen_intake_gfdl_runner_config,gen_intake_gfdl_runner
5-
from catalogbuilder.tests import make_sample_data
4+
from catalogbuilder.scripts import gen_intake_gfdl_runner_config,gen_intake_gfdl_runner, make_sample_data
65
make_sample_data.make_sample_data()
76
json, csv = gen_intake_gfdl_runner_config.create_catalog_from_config()
87
#to output success/failure in pytest run with conda pkg local install in extra-tests CI workflow#

doc/generation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Using a custom template
6060

6161
A default configuration is used for catalog generation unless a custom configuration is provided. We recommend the use of a custom configuration file if you want to work with datasets and directories that are *not quite* GFDL post-processed directory oriented. Configs must be passed to the builder using the ``--config flag``. See `Flags`_ here.
6262

63-
`Here <https://github.com/NOAA-GFDL/CatalogBuilder/blob/main/catalogbuilder/tests/config-cfname.yaml>`_ is an example configuration file.
63+
`Here <https://github.com/NOAA-GFDL/CatalogBuilder/examples/config-cfname.yaml>`_ is an example configuration file.
6464

6565

6666
**HEADERLIST**

0 commit comments

Comments
 (0)