Skip to content

Commit

Permalink
Allows writing untransformed databases
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Jul 28, 2024
1 parent 80009c7 commit c8f7572
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions premise/new_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -932,10 +932,6 @@ def update(self, sectors: [str, list, None] = None) -> None:
scenario["database"] = pickle.loads(pickle.dumps(self.database, -1))
except FileNotFoundError:
scenario["database"] = pickle.loads(pickle.dumps(self.database, -1))
# if "database filepath" in scenario:
# scenario = load_database(scenario)
# else:
# scenario["database"] = pickle.loads(pickle.dumps(self.database, -1))
for sector in sectors:
if sector in scenario.get("applied functions", []):
print(
Expand Down

0 comments on commit c8f7572

Please sign in to comment.