Skip to content

Commit

Permalink
drop loading config for simply accessing an FBS, see #389
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Oct 23, 2023
1 parent 48eac93 commit 8b62f34
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flowsa/flowbysector.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ def return_FBS(
'''
file_metadata = metadata.set_fb_meta(method, 'FlowBySector')

if config is None:
try:
config = common.load_yaml_dict(method, 'FBS',
external_config_path)
except exceptions.FlowsaMethodNotFoundError:
config = {}
# if config is None:
# try:
# config = common.load_yaml_dict(method, 'FBS',
# external_config_path)
# except exceptions.FlowsaMethodNotFoundError:
# config = {}

flowby_generator = (
lambda x=method, y=external_config_path, z=download_sources_ok:
Expand Down

0 comments on commit 8b62f34

Please sign in to comment.