Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better handling of non-integer versions #353

Merged
merged 2 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cumulus_library/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
# is all code level. See template_sql for more information.

__all__ = ["BaseTableBuilder", "CountsBuilder", "StudyConfig", "StudyManifest", "get_template"]
__version__ = "4.3.0"
__version__ = "4.3.1"
2 changes: 1 addition & 1 deletion cumulus_library/actions/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def upload_data(
json={
"study": study,
"data_package": data_package,
"data_package_version": version,
"data_package_version": int(float(version)),
"filename": f"{args['user']}_{file_name}",
},
auth=(args["user"], args["id"]),
Expand Down
4 changes: 2 additions & 2 deletions tests/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def do_upload(
{
"study": "upload",
"data_package": "upload__meta_version",
"data_package_version": version,
"data_package_version": int(float(version)),
"filename": f"{user}_upload__meta_version.meta.parquet",
}
)
Expand All @@ -474,7 +474,7 @@ def do_upload(
{
"study": "upload",
"data_package": "upload__count_synthea_patient",
"data_package_version": version,
"data_package_version": int(float(version)),
"filename": f"{user}_upload__count_synthea_patient.cube.parquet",
}
),
Expand Down
Loading