Skip to content

Error occurs when running the example #3

@diego00012138

Description

@diego00012138

Dear Sir
When i run "src/preprocess.py check -i data/tsvs" ,get an error ,as follow:

"Traceback (most recent call last):

File "src/preprocess.py", line 60, in
loader = DataLoader(path=args.input_dir)
File "/home/dell/ljh/database/ONN4MST/src/dp_utils.py", line 163, in init
paths = self.get_file_paths(path, ftype)
File "/home/dell/ljh/database/ONN4MST/src/dp_utils.py", line 173, in get_file_paths
if tsv.endswith(ftype)] for biome_dir in biome_dirs]
File "/home/dell/ljh/database/ONN4MST/src/dp_utils.py", line 173, in
if tsv.endswith(ftype)] for biome_dir in biome_dirs]
NotADirectoryError: [Errno 20] Not a directory: 'data/tsvs/HumanSamplesOTUs.tar.gz'"

And running the subsequent sample code gets the same error "NotADirectoryError".What's going wrong?

Yours

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