Skip to content

Commit 9052ec3

Browse files
committed
Remove unused get_output_files function
1 parent f32e0aa commit 9052ec3

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

tests/test_helper.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,6 @@ def test_get_circulation_from_entries():
301301
assert circulation == 21
302302

303303

304-
def test_get_output_files(mocker):
305-
get_config_mock = mocker.patch("tokenomics_decentralization.helper.get_output_directories")
306-
get_config_mock.return_value = [pathlib.Path(__file__).resolve().parent]
307-
output_files = hlp.get_output_files()
308-
assert isinstance(output_files, list)
309-
310-
311304
def test_get_special_addresses():
312305
ethereum_special_addresses = hlp.get_special_addresses('ethereum')
313306
assert isinstance(ethereum_special_addresses, list)

tokenomics_decentralization/helper.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -348,15 +348,6 @@ def get_plot_config_data():
348348
return get_config_data()['plot_parameters']
349349

350350

351-
def get_output_files():
352-
"""
353-
Retrieves all output files produced by some run
354-
:returns: a list of filenames
355-
"""
356-
output_dir = str(get_output_directories()[0])
357-
return [filename for filename in os.listdir(output_dir) if filename.startswith('output') and filename.endswith('.csv')]
358-
359-
360351
def get_special_addresses(ledger):
361352
"""
362353
Retrieves the ledger's special addresses that should be excluded from the analysis

0 commit comments

Comments
 (0)