CouncilDataProject / cdptools_v2

Tools you can use to interact with and run Council Data Project instances.
Other
7 stars 9 forks source link

Fix `download_transcripts` save_dir #108

Closed evamaxfield closed 4 years ago

evamaxfield commented 4 years ago

Description

A clear description of the bug When provided a save directory to save the transcripts to, the provided path is disregarded in favor of the users current working directory.

Expected Behavior

What did you expect to happen instead? The parameter should have be useful and save the transcripts to the desired directory.

Reproduction

A minimal example that exhibits the behavior.

from cdptools import CDPInstance, configs
from cdptools.indexers.tfidf_indexer import TFIDFIndexer
seattle = CDPInstance(configs.SEATTLE)
seattle.download_transcripts(save_dir="hello_world")

Environment

Any additional information about your environment