Skip to content

Commit e24b3ec

Browse files
authored
Fixed scenario excel import for numbered scenarios. (#1236)
1 parent 32d8084 commit e24b3ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • activity_browser/bwutils/superstructure

activity_browser/bwutils/superstructure/excel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get_header_index(document_path: Union[str, Path], import_sheet: int):
5252

5353
def valid_cols(name: str) -> bool:
5454
"""Callable which evaluates if a specific column should be used."""
55-
return False if name.startswith("#") else True
55+
return False if str(name).startswith("#") else True
5656

5757
def import_from_excel(document_path: Union[str, Path], import_sheet: int = 1) -> pd.DataFrame:
5858
"""Import all of the exchanges and their scenario amounts from a given

0 commit comments

Comments
 (0)