Skip to content

Commit

Permalink
updated for new directories
Browse files Browse the repository at this point in the history
  • Loading branch information
eacharles committed May 4, 2023
1 parent bae9d2a commit 6c93b63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nb/examples/goldenspike/goldenspike.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"outputs": [],
"source": [
"from rail.core.utils import RAILDIR\n",
"flow_file = os.path.join(RAILDIR, 'rail/examples/goldenspike/data/pretrained_flow.pkl')\n",
"flow_file = os.path.join(RAILDIR, 'rail/examples_data/goldenspike_data/data/pretrained_flow.pkl')\n",
"pipe.initialize(dict(model=flow_file), dict(output_dir='.', log_dir='.', resume=False), None)"
]
},
Expand Down Expand Up @@ -119,7 +119,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.10.10"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion src/rail/pipelines/examples/goldenspike/goldenspike.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

namer = NameFactory()
from rail.core.utils import RAILDIR
flow_file = os.path.join(RAILDIR, 'rail/examples/goldenspike/data/pretrained_flow.pkl')
flow_file = os.path.join(RAILDIR, 'rail/examples_data/goldenspike_data/data/pretrained_flow.pkl')


class GoldenspikePipeline(RailPipeline):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def test_golden():
namer = NameFactory()
flow_file = os.path.join(RAILDIR, 'examples/goldenspike/data/pretrained_flow.pkl')
flow_file = os.path.join(RAILDIR, 'rail/examples_data/goldenspike_data/data/pretrained_flow.pkl')
output_dir = namer.get_project_dir('.', 'tmp_test', 'tmp_test')
try:
os.makedirs(output_dir)
Expand Down

0 comments on commit 6c93b63

Please sign in to comment.