Skip to content

Exception when running crowdtruth.load #2

Description

@hunterhector

I've encountered the following exception when running the notebook.


TypeError Traceback (most recent call last)
in ()
31 data, config = crowdtruth.load(
32 directory = crowd_input_folder,
---> 33 config = fc
34 )

~/anaconda3/lib/python3.6/site-packages/crowdtruth/load.py in load(**kwargs)
111 config = kwargs['config']
112
--> 113 results = list_files(kwargs, results, config)
114 for value in results:
115 results[value] = pd.concat(results[value])

~/anaconda3/lib/python3.6/site-packages/crowdtruth/load.py in list_files(kwargs, results, config)
83 for file in files:
84 if 'directory' in locals() and directory != "":
---> 85 logging.info("Processing " + file)
86 file = directory + "/" + file
87

TypeError: must be str, not list

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions