Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate the logic for the trace_segmentation_clustering.py code change. #47

Open
anujsinha3 opened this issue Jul 16, 2024 · 1 comment
Assignees

Comments

@anujsinha3
Copy link
Collaborator

anujsinha3 commented Jul 16, 2024

The Trace Segmentation Clustering code has been refactored from using CSV files to the pandas dataframe.

The task is to go through the code at: src/mawpy/steps/trace_segmentation_clustering.py and confirm that the code-logic and outputs are as per the expectations.

To run the code:
Run the Python script: src/mawpy/workflows/workflow2.py with the input_file and output_file arguments.

Make sure you setup and install the dependencies by running the three commands: (Not required if already done)

python3 -m venv .venv
source .venv/bin/activate
pip install .

Example: (you can set the optional parameters by adding this in the command line): --spatial_constraint=2
python3 workflows/workflow2.py <input_CSV_file_path> <output_CSV_file_path>

@anujsinha3
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants