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

Added the workflow file for sample data #13

Closed
wants to merge 4 commits into from

Conversation

kassabry
Copy link
Collaborator

It is the bt_clustering and simulation runner running on the sample data with most of the default params.

It is the bt_clustering and simulation runner running on the sample data with most of the default params.
@kassabry kassabry requested a review from agitter November 27, 2023 21:44
Added the pip install -e . that I forgot in the original update
Copy link
Member

@agitter agitter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had forgotten we already had a test script in place that does most of these steps. Rather than overwrite the old test script, can you please modify the existing .yml file to add the new conda list and testing steps that we want? That will retain the history of the old file. You may need to adjust to the whitespace style of the existing .yml file.

environment-file: conda_cpu_env.yml
auto-activate-base: false
miniconda-version: 'latest'
# Log conda environment contents
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep this new step after installing the active_learning_dd package

Comment on lines 31 to 38
# Tests that the regression training code runs in the conda environment
- name: Test BT_Clustering
shell: bash --login {0}
run: python utils/generate_bt_clustering.py --csv_file_or_dir=datasets/sample_data/training_data/iter_{}.csv --output_dir=datasets/sample_data/training_data --feature_name="Morgan FP_2_1024" --cutoff=0.4 --dist_function=tanimoto_dissimilarity --process_count=2 --index_name="Index ID"
# Tests that inference notebook can execute in the conda environment
- name: Test Simulation Runner
shell: bash --login {0}
run: python chtc_runners/simulation_runner.py --pipeline_params_json_file=param_configs/sample_data_config.json --nbs_params_json_file=param_configs/ClusterBasedWCSelector_params_reduced.json --exploration_strategy=weighted --iter_max=5 --process_num=0 --batch_size_index=0 --rnd_seed=0 --no-random_param_sampling --precompute_dissimilarity_matrix
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep these new steps

# Tests that the regression training code runs in the conda environment
- name: Test BT_Clustering
shell: bash --login {0}
run: python utils/generate_bt_clustering.py --csv_file_or_dir=datasets/sample_data/training_data/iter_{}.csv --output_dir=datasets/sample_data/training_data --feature_name="Morgan FP_2_1024" --cutoff=0.4 --dist_function=tanimoto_dissimilarity --process_count=2 --index_name="Index ID"
Copy link
Member

@agitter agitter Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the {} need to be set to some index?

Also note the error from the GitHub Actions log:

python: can't open file 'utils/generate_bt_clustering.py': [Errno 2] No such file or directory

The working directory is the root of the repository.

@agitter agitter marked this pull request as ready for review November 29, 2023 14:50
@agitter
Copy link
Member

agitter commented Jan 8, 2024

Superseded by #14

@agitter agitter closed this Jan 8, 2024
@agitter agitter deleted the kassab_modifications branch January 8, 2024 15:47
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

Successfully merging this pull request may close these issues.

2 participants