crest-cassia/oacis — pull request #283 by takeshi-uchitane (2014-12-11 08:02:00+00:00)
Title: Generate preprocess script on manual submission

Fixed #266

When a run is created with {submitted_to: nil} and when the run.simulator has pre_process_script, pre_process_script and its executor are also created in manual submission directory.
You can run pre_process for ${RUN_ID} like the following command.
``` sh
scp public/Result_development/manual_submission/${RUN_ID}* remotehost:/path/to/work_dir/
ssh remotehost "cd /path/to/work_dir; ./${RUN_ID}_preprocess_executor.sh"
```
Then you can find results of preprocess in ${RUN_ID} directory.
- /path/to/work_dir/${RUN_ID}/
- _preprocess.sh
- _input.json (if run.simulator.support_json = true)
- someting created by _preprocess.sh