Skip to content

Commit

Permalink
Elevate contents of src to root directory (#409)
Browse files Browse the repository at this point in the history
* move src to root

* remove src references in code

* restore deleted tsv
  • Loading branch information
damonbayer committed Aug 22, 2024
1 parent a793417 commit 648e69b
Show file tree
Hide file tree
Showing 82 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os
import sys

sys.path.insert(0, os.path.abspath("../../src"))
sys.path.insert(0, os.path.abspath("../.."))


# -- Project information -----------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["CFA"]
license = "Apache 2.0"
readme = "README.md"
packages = [
{include = "pyrenew", from = "src"},
{include = "pyrenew"},
]
include = [{path = "datasets/*.tsv"}]
exclude = [{path = "datasets/*.rds"}]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

# Building path to save the file
path = os.path.join(
"src",
"pyrenew",
"datasets",
"gen_int.tsv",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

# Building path to save the file
path = os.path.join(
"src",
"pyrenew",
"datasets",
"infection_admission_interval.tsv",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load(
"https://github.com/CDCgov/wastewater-informed-covid-forecasting/blob/292526383ece582f10823fc939c7e590ca349c6d/cfaforecastrenewalww/data/example_df.rda"
)
datasets_dir <- file.path("src", "pyrenew", "datasets")
)
datasets_dir <- file.path("pyrenew", "datasets")
dir.create(datasets_dir)

# Saving as TSV
Expand All @@ -12,4 +12,4 @@ write.table(
quote = FALSE,
row.names = FALSE,
na = ""
)
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 648e69b

Please sign in to comment.