Description:
After installing the package using the pip install . method as described in the README, the config.json file is not found when the tool is executed. The error occurs because the config.json file is not included in the installation process, leading to a FileNotFoundError.
Steps to Reproduce:
Clone the repository.
Install the package using pip install ..
Run the tool using plasmicheck <command>.
Expected Behavior:
The tool should successfully load the config.json file and execute the pipeline without errors.
Actual Behavior:
The tool throws a FileNotFoundError indicating that config.json is missing.
Error Message:
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/env/lib/python3.x/site-packages/plasmicheck/config.json'
Possible Fix:
Ensure config.json is included in the package by adding it to the MANIFEST.in file.
Update setup.py to include the necessary files using include_package_data=True.
Use pkg_resources to access config.json after installation.
This bug needs to be fixed to ensure proper loading of configuration files after package installation.
Description: After installing the package using the
pip install .
method as described in the README, theconfig.json
file is not found when the tool is executed. The error occurs because theconfig.json
file is not included in the installation process, leading to aFileNotFoundError
.Steps to Reproduce:
pip install .
.plasmicheck <command>
.Expected Behavior: The tool should successfully load the
config.json
file and execute the pipeline without errors.Actual Behavior: The tool throws a
FileNotFoundError
indicating thatconfig.json
is missing.Error Message: FileNotFoundError: [Errno 2] No such file or directory: '/path/to/env/lib/python3.x/site-packages/plasmicheck/config.json'
Possible Fix:
config.json
is included in the package by adding it to theMANIFEST.in
file.setup.py
to include the necessary files usinginclude_package_data=True
.pkg_resources
to accessconfig.json
after installation.This bug needs to be fixed to ensure proper loading of configuration files after package installation.