Skip to content

Commit

Permalink
Changed path to artifacts generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed Dec 18, 2024
1 parent c37a838 commit 891689f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ cython_debug/
# Ruff
.ruff_cache

# static artifacts
artifacts

# pytest coverage
pytest.xml
pytest-coverage.txt
6 changes: 2 additions & 4 deletions bam_data_store/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ def cli():
pass


@cli.command(
help='Export entities to JSON files to the `./bam_data_store/datamodel/artifacts/` subfolder.'
)
@cli.command(help='Export entities to JSON files to the `./artifacts/` folder.')
def export_entities_to_json():
datamodel_dir = os.path.join('.', 'bam_data_store', 'datamodel')
export_dir = os.path.join('.', 'bam_data_store', 'datamodel', 'artifacts')
export_dir = os.path.join('.', 'artifacts')

# Delete and create the export directory
delete_and_create_dir(directory_path=export_dir, logger=logger)
Expand Down

0 comments on commit 891689f

Please sign in to comment.