The echodataflow init CLI command fails when using the package instead of the repository because it cannot locate the echodataflow_rules.txt file. This file contains the default rules and is located within the package.
Expected Behavior
The echodataflow init command should initialize correctly by locating and using the echodataflow_rules.txt file from the package.
Actual Behavior
The echodataflow init command fails with an error indicating that it cannot find the echodataflow_rules.txt file within the package.
Environment (please complete the following information):
OS: Windows
Mode: Ephemeral
Version: Main Latest
Steps to Reproduce
Steps to reproduce the behavior:
Install the package using the preferred method (e.g., pip).
Run the echodataflow init command.
Observe the error indicating the missing echodataflow_rules.txt file.
Screenshots
If applicable, add screenshots to help explain your problem.
Possible Solution / Suggestion
Use the pkg_resources module to correctly load the echodataflow_rules.txt file from within the package.
Description
The
echodataflow init
CLI command fails when using the package instead of the repository because it cannot locate theechodataflow_rules.txt
file. This file contains the default rules and is located within the package.Expected Behavior
The
echodataflow init
command should initialize correctly by locating and using theechodataflow_rules.txt
file from the package.Actual Behavior
The
echodataflow init
command fails with an error indicating that it cannot find theechodataflow_rules.txt
file within the package.Environment (please complete the following information):
Steps to Reproduce
Steps to reproduce the behavior:
Screenshots If applicable, add screenshots to help explain your problem.
Possible Solution / Suggestion
Use the
pkg_resources
module to correctly load the echodataflow_rules.txt file from within the package.