Skip to content

Commit 648e69b

Browse files
authored
Elevate contents of src to root directory (#409)
* move src to root * remove src references in code * restore deleted tsv
1 parent a793417 commit 648e69b

82 files changed

Lines changed: 5 additions & 7 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import os
88
import sys
99

10-
sys.path.insert(0, os.path.abspath("../../src"))
10+
sys.path.insert(0, os.path.abspath("../.."))
1111

1212

1313
# -- Project information -----------------------------------------------------

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["CFA"]
66
license = "Apache 2.0"
77
readme = "README.md"
88
packages = [
9-
{include = "pyrenew", from = "src"},
9+
{include = "pyrenew"},
1010
]
1111
include = [{path = "datasets/*.tsv"}]
1212
exclude = [{path = "datasets/*.rds"}]

src/pyrenew/datasets/data-raw/generation_interval.py renamed to pyrenew/datasets/data-raw/generation_interval.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
# Building path to save the file
1515
path = os.path.join(
16-
"src",
1716
"pyrenew",
1817
"datasets",
1918
"gen_int.tsv",

src/pyrenew/datasets/data-raw/infection_admission_interval.py renamed to pyrenew/datasets/data-raw/infection_admission_interval.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
# Building path to save the file
1515
path = os.path.join(
16-
"src",
1716
"pyrenew",
1817
"datasets",
1918
"infection_admission_interval.tsv",
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
load(
22
"https://github.com/CDCgov/wastewater-informed-covid-forecasting/blob/292526383ece582f10823fc939c7e590ca349c6d/cfaforecastrenewalww/data/example_df.rda"
3-
)
4-
datasets_dir <- file.path("src", "pyrenew", "datasets")
3+
)
4+
datasets_dir <- file.path("pyrenew", "datasets")
55
dir.create(datasets_dir)
66

77
# Saving as TSV
@@ -12,4 +12,4 @@ write.table(
1212
quote = FALSE,
1313
row.names = FALSE,
1414
na = ""
15-
)
15+
)
File renamed without changes.

0 commit comments

Comments
 (0)