Skip to content

Commit

Permalink
Fix warning issue and numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi authored and romainsacchi committed Jan 23, 2024
1 parent 0846fb8 commit 4aa5f0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion carculator_utils/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import csv
import itertools
import re
import warnings
from collections import defaultdict
from datetime import datetime
from functools import lru_cache
Expand All @@ -22,7 +23,7 @@
from .background_systems import BackgroundSystemModel
from .export import ExportInventory

np.warnings.filterwarnings("ignore", category=np.VisibleDeprecationWarning)
warnings.filterwarnings("ignore", category=np.VisibleDeprecationWarning)

IAM_FILES_DIR = DATA_DIR / "IAM"

Expand Down

0 comments on commit 4aa5f0e

Please sign in to comment.