-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
I would opt for ignoring unsupported files in a larger result folder, instead of exiting the program. In my case I store notebooks as executed references in my results folder.
>>> vuegen --dir results/
Traceback (most recent call last):
File "/Users/heweb/miniforge3/envs/vuegen/bin/vuegen", line 8, in <module>
sys.exit(main())
File "/Users/heweb/Documents/repos/vuegen/vuegen/__main__.py", line 42, in main
report_generator.get_report(report_type=report_type,
File "/Users/heweb/Documents/repos/vuegen/vuegen/report_generator.py", line 37, in get_report
yaml_data, base_folder_path = config_manager.create_yamlconfig_fromdir(dir_path)
File "/Users/heweb/Documents/repos/vuegen/vuegen/config_manager.py", line 248, in create_yamlconfig_fromdir
yaml_config["sections"].append(self._create_sect_config_fromdir(section_dir))
File "/Users/heweb/Documents/repos/vuegen/vuegen/config_manager.py", line 210, in _create_sect_config_fromdir
section_config["subsections"].append(self._create_subsect_config_fromdir(subsection_dir))
File "/Users/heweb/Documents/repos/vuegen/vuegen/config_manager.py", line 167, in _create_subsect_config_fromdir
component_config = self._create_component_config_fromfile(file)
File "/Users/heweb/Documents/repos/vuegen/vuegen/config_manager.py", line 113, in _create_component_config_fromfile
raise ValueError(error_msg)
ValueError: Unsupported file extension: .ipynb. Supported extensions include:
- Network formats: .gml, .graphml, .gexf, .csv, .txt, .cyjs, .html, .png, .jpg, .jpeg, .svg
- DataFrame formats: .csv, .txt, .parquet, .xls, .xlsxMetadata
Metadata
Assignees
Labels
No labels