Skip to content

Commit f82a752

Browse files
committed
prepare for module rename
1 parent cc03920 commit f82a752

File tree

6 files changed

+42
-42
lines changed

6 files changed

+42
-42
lines changed

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "pyana/ccsgp"]
2-
path = pyana/ccsgp
1+
[submodule "ccsgp_get_started/ccsgp"]
2+
path = ccsgp_get_started/ccsgp
33
url = https://github.com/tschaume/ccsgp.git

docs/index.rst

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,84 +8,84 @@ Get started with ccsgp!
88

99
*Authors*
1010
**Patrick Huck** (GitHub_),
11-
``default_colors`` in :class:`pyana.ccsgp.config` contributed by Johanna Huck
11+
``default_colors`` in :class:`ccsgp_get_started.ccsgp.config` contributed by Johanna Huck
1212

1313
*Date*
1414
|today|
1515

1616
.. _GitHub: https://github.com/tschaume
1717

18-
.. pyana/__init__.py
19-
.. automodule:: pyana
18+
.. ccsgp_get_started/__init__.py
19+
.. automodule:: ccsgp_get_started
2020
:members:
2121

2222
Examples Module
2323
---------------
2424

25-
.. pyana/examples/__init__.py
26-
.. automodule:: pyana.examples
25+
.. ccsgp_get_started/examples/__init__.py
26+
.. automodule:: ccsgp_get_started.examples
2727
:members:
2828

29-
.. pyana/examples/gp_datdir.py
30-
.. automodule:: pyana.examples.gp_datdir
29+
.. ccsgp_get_started/examples/gp_datdir.py
30+
.. automodule:: ccsgp_get_started.examples.gp_datdir
3131
:members:
3232

33-
.. pyana/examples/gp_lcltpt.py
34-
.. automodule:: pyana.examples.gp_lcltpt
33+
.. ccsgp_get_started/examples/gp_lcltpt.py
34+
.. automodule:: ccsgp_get_started.examples.gp_lcltpt
3535
:members:
3636

37-
.. pyana/examples/gp_xfac.py
38-
.. automodule:: pyana.examples.gp_xfac
37+
.. ccsgp_get_started/examples/gp_xfac.py
38+
.. automodule:: ccsgp_get_started.examples.gp_xfac
3939
:members:
4040

41-
.. pyana/examples/gp_panel.py
42-
.. automodule:: pyana.examples.gp_panel
41+
.. ccsgp_get_started/examples/gp_panel.py
42+
.. automodule:: ccsgp_get_started.examples.gp_panel
4343
:members:
4444

45-
.. pyana/examples/gp_stack.py
46-
.. automodule:: pyana.examples.gp_stack
45+
.. ccsgp_get_started/examples/gp_stack.py
46+
.. automodule:: ccsgp_get_started.examples.gp_stack
4747
:members:
4848

49-
.. pyana/examples/gp_rdiff.py
50-
.. automodule:: pyana.examples.gp_rdiff
49+
.. ccsgp_get_started/examples/gp_rdiff.py
50+
.. automodule:: ccsgp_get_started.examples.gp_rdiff
5151
:members:
5252

53-
.. pyana/examples/gp_ptspec.py
54-
.. automodule:: pyana.examples.gp_ptspec
53+
.. ccsgp_get_started/examples/gp_ptspec.py
54+
.. automodule:: ccsgp_get_started.examples.gp_ptspec
5555
:members:
5656

57-
.. pyana/examples/utils.py
58-
.. automodule:: pyana.examples.utils
57+
.. ccsgp_get_started/examples/utils.py
58+
.. automodule:: ccsgp_get_started.examples.utils
5959
:members:
6060

6161
ccsgp
6262
-----
6363

64-
.. pyana/ccsgp/__init__.py
65-
.. automodule:: pyana.ccsgp
64+
.. ccsgp_get_started/ccsgp/__init__.py
65+
.. automodule:: ccsgp_get_started.ccsgp
6666
:members:
6767

6868
User Functions
6969
^^^^^^^^^^^^^^
7070

71-
.. pyana/ccsgp/ccsgp.py
72-
.. automodule:: pyana.ccsgp.ccsgp
71+
.. ccsgp_get_started/ccsgp/ccsgp.py
72+
.. automodule:: ccsgp_get_started.ccsgp.ccsgp
7373
:members:
7474

7575
Base Class
7676
^^^^^^^^^^
7777

78-
.. automodule:: pyana.ccsgp.myplot
78+
.. automodule:: ccsgp_get_started.ccsgp.myplot
7979
:members:
8080
:private-members:
8181

8282
Config & Utils
8383
^^^^^^^^^^^^^^
8484

85-
.. automodule:: pyana.ccsgp.config
85+
.. automodule:: ccsgp_get_started.ccsgp.config
8686
:members:
8787

88-
.. automodule:: pyana.ccsgp.utils
88+
.. automodule:: ccsgp_get_started.ccsgp.utils
8989
:members:
9090

9191
Indices and tables

make_thesis_plots.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/bash
22

3-
python -m pyana.examples.gp_rapp
4-
python -m pyana.examples.gp_stack --med LatestPatrickJieYi
5-
python -m pyana.examples.gp_panel LatestPatrickJieYi
6-
python -m pyana.examples.gp_rdiff --noxerr LatestPatrickJieYi
7-
python -m pyana.examples.gp_rdiff --diffRel --noxerr LatestPatrickJieYi
8-
python -m pyana.examples.gp_rdiff --diffRel LatestPatrickJieYi
9-
python -m pyana.examples.gp_rdiff --divdNdy LatestPatrickJieYi
10-
python -m pyana.examples.gp_ptspec
3+
python -m ccsgp_get_started.examples.gp_rapp
4+
python -m ccsgp_get_started.examples.gp_stack --med LatestPatrickJieYi
5+
python -m ccsgp_get_started.examples.gp_panel LatestPatrickJieYi
6+
python -m ccsgp_get_started.examples.gp_rdiff --noxerr LatestPatrickJieYi
7+
python -m ccsgp_get_started.examples.gp_rdiff --diffRel --noxerr LatestPatrickJieYi
8+
python -m ccsgp_get_started.examples.gp_rdiff --diffRel LatestPatrickJieYi
9+
python -m ccsgp_get_started.examples.gp_rdiff --divdNdy LatestPatrickJieYi
10+
python -m ccsgp_get_started.examples.gp_ptspec
1111
open \
1212
pyanaDir/examples/gp_rapp/output/rapp_overview_panel.pdf \
1313
pyanaDir/examples/gp_stack/output/stackLatestPatrickJieYiInclMed.pdf \

pyana/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
$ cd ccsgp_get_started/
6262
$ ln -s <path/to/ccsgp_get_started_data> pyanaDir
6363
64-
`pyana.aux.utils.checkSymLink` checks for the *pyanaDir* symbolic link and
64+
`ccsgp_get_started.aux.utils.checkSymLink` checks for the *pyanaDir* symbolic link and
6565
the code won't run without it. Hence you need to generate a symlink called
6666
*pyanaDir* either to *ccsgp_get_started_data* or your own input/output
6767
directory (preferably separated from the code repository).

pyana/examples/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
same directory on how I extracted the data into the correct format for *ccsgp*.
66
To generate all example plots based on *ccsgp_get_started_data* you can run::
77
8-
$ python -m pyana
8+
$ python -m ccsgp_get_started
99
1010
.. [#] ccsgp_get_started_data/input/examples/gp_datdir/{WorldBankIndicators.csv, genExDat.sh}
1111
1212
Alternatively, you can run a specific module, for instance::
1313
14-
$ python -m pyana.examples.gp_datdir [--log] <country-initial> <#-most-populated>
14+
$ python -m ccsgp_get_started.examples.gp_datdir [--log] <country-initial> <#-most-populated>
1515
1616
and this way plot specific country initials. You can open all resulting pictures
1717
via ``$ open examplesDir/examples/gp_datdir/*.pdf`` or use ``pdfnup`` to put

pyana/examples/gp_datdir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def gp_datdir(initial, topN):
1717
Below is an output image for country initial T and the 4 most populated
1818
countries for this initial (click to enlarge). Also see::
1919
20-
$ python -m pyana.examples.gp_datdir -h
20+
$ python -m ccsgp_get_started.examples.gp_datdir -h
2121
2222
for help on the command line options.
2323

0 commit comments

Comments
 (0)