Skip to content

Commit

Permalink
Correct mistake introduced in last fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeAgez committed May 20, 2022
1 parent 3db8576 commit 46ea97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pylcaio.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def combine_ecoinvent_exiobase(self, path_to_capitals='', complete_extensions=Fa
self.number_of_countries_IO = len([i for i in self.IO_database.get_regions()]) - self.number_of_RoW_IO

# cleaning up exiobase sector names
self.sectors_of_IO = [re.sub(r' \(\d\d\)', '', i) for i in lcaio_object.sectors_of_IO]
self.sectors_of_IO = [re.sub(r' \(\d\d\)', '', i) for i in self.sectors_of_IO]
# extracting calculated matrices from exiobase (X, L, etc.)
self.IO_database.calc_all()
self.X_io = scipy.sparse.csr_matrix(self.IO_database.x.values)
Expand Down

0 comments on commit 46ea97e

Please sign in to comment.