Skip to content

Commit

Permalink
Add notes to docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Aug 16, 2018
1 parent 5f9e26f commit 481e620
Showing 1 changed file with 41 additions and 2 deletions.
43 changes: 41 additions & 2 deletions pbs_executor/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,25 @@ def move(self):
"""
Move ingest files to the ILAMB MODELS directory.
Notes
-----
The directory structures for an uploaded model output
should look like:
.. code-block:: bash
MODELS
|
+-- SiBCASA
|
+-- test_model_output.txt
MODELS-by-project
|
+-- PBS
|
+-- test_model_output.txt -> MODELS/SibCASA/test_model_output.txt
"""
models_dir = os.path.join(self.ilamb_root, self.dest_dir)
for f in self.ingest_files:
Expand Down Expand Up @@ -210,8 +229,28 @@ def verify(self):
f.is_verified = True

def move(self):
"""
Move ingest files to the ILAMB DATA directory.
"""Move ingest files to the ILAMB DATA directory.
Notes
-----
The directory structures for an uploaded benchmark dataset
should look like:
.. code-block:: bash
DATA
|
+-- lai
|
+-- CSDMS
|
+-- test_benchmark.txt
DATA-by-project
|
+-- PBS
|
+-- test_benchmark.txt.CSDMS -> DATA/lai/CSDMS/test_benchmark.txt
"""
data_dir = os.path.join(self.ilamb_root, self.dest_dir)
Expand Down

0 comments on commit 481e620

Please sign in to comment.