diff --git a/examples/config.pkl b/examples/config.pkl new file mode 100644 index 0000000..3d66d85 Binary files /dev/null and b/examples/config.pkl differ diff --git a/examples/example_slurm.sh b/examples/example_slurm.sh index b091dd4..4d4115b 100644 --- a/examples/example_slurm.sh +++ b/examples/example_slurm.sh @@ -16,4 +16,4 @@ module load Miniconda3 eval "$(conda shell.bash hook)" conda activate cpm -python cpm_analysis.py --results_directory "" --data_directory "" --config_file "" perm_run $SLURM_ARRAY_TASK_ID +python cpm_analysis.py --results_directory "./tmp/slurm" --data_directory "./simulated_data/" --config_file "./config.pkl" perm_run $SLURM_ARRAY_TASK_ID diff --git a/examples/save_config.py b/examples/save_config.py index d5d9a95..6bf1aca 100644 --- a/examples/save_config.py +++ b/examples/save_config.py @@ -20,7 +20,7 @@ cv_edge_selection=ShuffleSplit(n_splits=1, test_size=0.2, random_state=42), add_edge_filter=True, n_permutations=100) -cpm.save_configuration(config_filename='./tmp/config.pkl') +cpm.save_configuration(config_filename='./config.pkl') cpm_remote = CPMRegression(results_directory='./tmp/example_simulated_data2') cpm_remote.load_configuration(results_directory='./tmp/example_simulated_data3', diff --git a/setup.cfg b/setup.cfg index ca0c80f..dce84a8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,6 +24,7 @@ install_requires = pingouin streamlit nilearn + typer [options.packages.find] where = src \ No newline at end of file