Skip to content

Commit

Permalink
Merge pull request #87 from prodigyfinance/feature/fix-dataset-name
Browse files Browse the repository at this point in the history
Fix dataset name
  • Loading branch information
Bougeant committed Feb 17, 2023
2 parents 7ba0091 + 73846a8 commit 248608c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ml2p/cli_commands/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def mk_processing_job(prj, dataset, model_type=None):
"ContainerArguments": ["generate-dataset"],
},
"Environment": {
"ML2P_DATASET": prj.full_job_name(dataset),
"ML2P_DATASET": dataset,
"ML2P_PROJECT": prj.project,
"ML2P_S3_URL": prj.s3.url(),
**extra_env,
Expand Down
2 changes: 1 addition & 1 deletion tests/cli_commands/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def test_mk_processing_job(self, prj):
"ContainerArguments": ["generate-dataset"],
},
"Environment": {
"ML2P_DATASET": "modelling-project-my-dataset-2022-12-25",
"ML2P_DATASET": "my-dataset-2022-12-25",
"ML2P_PROJECT": "modelling-project",
"ML2P_S3_URL": "s3://prodigyfinance-modelling-"
"project-sagemaker-production/",
Expand Down

0 comments on commit 248608c

Please sign in to comment.