Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Sep 14, 2023
2 parents 887d6d8 + 24df4bc commit 9543f49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions premise/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@ def prepare_db_for_export(

return base.database, base.cache


def clean_up(exc):
"""Remove keys from ``exc`` that are not in the schema."""

Expand Down
1 change: 1 addition & 0 deletions premise/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def write_database(self):
print(f"Database {self.db_name} already exists: " "it will be overwritten.")
super().write_database()


def reset_all_codes(data):
"""
Re-generate all codes in each dataset of a database
Expand Down

0 comments on commit 9543f49

Please sign in to comment.