Skip to content

Commit

Permalink
Added usage docstring to test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Foggalong committed Aug 7, 2024
1 parent 2431410 commit dfb2986
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/04/test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/env python3

"""
While this script may be used as an example of using RobustOCS, it's primarily
intended for use as a test as part of the 'Check Build' GitHub action.
https://github.com/Foggalong/RobustOCS/actions/workflows/check-build.yml
"""

import numpy as np
import robustocs as rocs

Expand Down
6 changes: 6 additions & 0 deletions examples/1000/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
import numpy as np
import robustocs as rocs

"""
While this script may be used as an example of using RobustOCS, it's primarily
intended for use as a test as part of the 'Check Build' GitHub action.
https://github.com/Foggalong/RobustOCS/actions/workflows/check-build.yml
"""

# SETUP
# -----

Expand Down
6 changes: 6 additions & 0 deletions examples/50/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
import numpy as np
import robustocs as rocs

"""
While this script may be used as an example of using RobustOCS, it's primarily
intended for use as a test as part of the 'Check Build' GitHub action.
https://github.com/Foggalong/RobustOCS/actions/workflows/check-build.yml
"""

# SETUP
# -----

Expand Down
8 changes: 8 additions & 0 deletions examples/ped/test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#!/usr/bin/env python3

import numpy as np
import robustocs as rocs
from time import time

"""
While this script may be used as an example of using RobustOCS, it's primarily
intended for use as a test as part of the 'Test Pedigree' GitHub action.
https://github.com/Foggalong/RobustOCS/actions/workflows/check-pedigree.yml
"""


ped = rocs.load_ped("example.ped")

Expand Down

0 comments on commit dfb2986

Please sign in to comment.