biophys_optimize icon indicating copy to clipboard operation
biophys_optimize copied to clipboard

Steps to run entire fitting procedure

Open xanderladd opened this issue 4 years ago • 2 comments

Hello,

Thanks for sharing your code. With a few minor tweaks I can run the following steps:

1. scripts/run_preprocessing.py --input_json ./test_input_files/test_preprocess_input.json
2. scripts/passive_fittting.py --input_json ./test_input_files/test_passive_input_1.json
3. scripts/passive_fittting.py --input_json ./test_input_files/test_passive_input_2.json
4. scripts/passive_fittting.py --input_json ./test_input_files/test_passive_input_elec.json
5. scripts/run_consolidate_passive_fitting.py --input_json ./test_input_files/test_consolidate_input.json
6. scripts/run_optimize.py --input_json ./test_input_files/test_optimize_input.json

In order to 6 successfully, I have to override so that there is no starting population. My test_optimize_input.json file has target_features but it's missing they features key. This makes me think I am somehow missing a step. I am not currently using the run_model_selection.py and run_population_selection.py, though these seem like they'd be used after optimize is run with a few fitting strategies.

Do you mind posting a more definitive order of steps to run after the passive fit? Thank you in advance for your time and for open sourcing your code. Psuedo-code for the whole procedure would be just fine. Please let me know if I need to provide any other info.

I also don't know what the hack scripts are for. They seem like they are meant to write out JSON files. EDIT: nvm, I see that they just write JSON files. EDIT2: figured out that features come from the fit_styles

xanderladd avatar Dec 27 '21 04:12 xanderladd

Thanks for your interest!

I have an outline "Getting Started" guide that I never finished & put in the repository, but knowing that someone would make direct use of it is a good prompt to get it done. I think that once it's done, it should be what you're looking for, but feedback will be welcome, too. I'll respond to this issue again once I've got it up.

And yes, the "hack" scripts were just to generate some JSON input files of the right form. Sorry they were confusing - I can try to sequester them to clarify what they're for.

gouwens avatar Jan 03 '22 21:01 gouwens

great, that would be very helpful. I'll be on the lookout.

xanderladd avatar Jan 03 '22 21:01 xanderladd