Open fschwach opened 13 years ago
The easiest way is to apply option (3) by reading the different tags that already existed in the infile, and make an array of legal tags for that result/pair/primer etc. This way we can solve a lot of headache in writing sanity check codes.
I'd say, though, I made this comment on the output tags--the input tags is a can of worms that I would open another issue to discuss.
Just wanted to raise this as a new issue because the pull request in which we discussed this originally is already closed but this issue is still open for discussion.
The problem: there is a large number of tags for input and output to/from primer3 for which we may want to create accessors. Writing all those accessors explicitly as methods will bloat the code quite a bit and may be a maintenance problem. AUTOLOAD is not an ideal solution and Bio::Root::Root::_set_from_args is only meant to create accessors from arguments given at object instantiation, which is not what we need.
I think these are the options:
What do you think?
Frank