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

Release 07 #55

Merged
merged 2 commits into from
Aug 22, 2024
Merged
Changes from 1 commit
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
Next Next commit
Fixed Noneversion bug
joxssb committed Aug 22, 2024
commit 236d3757933a1ee8fb45779c69c545b964a6f1d8
5 changes: 3 additions & 2 deletions src/ssb_konjunk/saving.py
Original file line number Diff line number Diff line change
@@ -323,9 +323,10 @@ def write_ssb_file(
# Find version number/decide whether to overwrite or make new version.
version_number = _find_version_number(files, stable_version)

file_path = f"{file_path}_v{version_number}.{filetype}"
if version_number:
file_path = f"{file_path}_v{version_number}.{filetype}"

_save_df(df, file_path, filetype, fs, seperator, encoding)
_save_df(df, file_path, filetype, fs, seperator, encoding)


def read_ssb_file(