| Anonymous | Login | 2025-11-08 03:03 CST | ![]() |
| My View | View Issues |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0000343 | Rosetta | [All Projects] Input Handling | public | 2014-06-26 14:11 | 2014-06-26 14:46 | ||||||||
| Reporter | jadolfbr | ||||||||||||
| Assigned To | jadolfbr | ||||||||||||
| Priority | low | Severity | minor | Reproducibility | always | ||||||||
| Status | assigned | Resolution | open | ||||||||||
| Platform | All platforms | OS | Any | OS Version | Any | ||||||||
| Product Version | Trunk | ||||||||||||
| Fixed in Version | |||||||||||||
| Summary | 0000343: Options file do not use -in:path directory locations | ||||||||||||
| Description | Options file loading should use set paths for locating files. | ||||||||||||
| Steps To Reproduce | Use a cmd line where your flags file is in a different directory; pass -in:path to that directory | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Application(s) Affected | All | ||||||||||||
| Command Line Used | antibody_designer.linuxclangrelease -in:path antibody_designer @flags | ||||||||||||
| Developer Options | |||||||||||||
| Fixed in SVN Version | |||||||||||||
| Attached Files | |||||||||||||
Notes |
|
|
(0000349) rmoretti (Attentive Developer) 2014-06-26 14:46 |
This is a little cart-before-the-horse, as you would need to be able to use the option system before/when you're actually loading the options. I guess it might be possible, so long as you specify -in:path on the command line before you specify the options file (so "antibody_designer.linuxclangrelease -in:path antibody_designer @flags" might be workable, "antibody_designer.linuxclangrelease @flags -in:path antibody_designer" wouldn't be, at least without changing options loading semantics.) To make the first case work, you'd probably have to alter OptionCollection::load_option_from_file() in src/utility/options/OptionCollection.cc to specifically introspect the -in:path option and uses those paths as fallbacks. The general -in:path loading mechanism that usually happens through izstream won't work, as that doesn't get set until the options loading is finished. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2014-06-26 14:11 | jadolfbr | New Issue | |
| 2014-06-26 14:11 | jadolfbr | Status | new => assigned |
| 2014-06-26 14:11 | jadolfbr | Assigned To | => jadolfbr |
| 2014-06-26 14:46 | rmoretti | Note Added: 0000349 | |
| Copyright © 2000 - 2012 MantisBT Group |