oh, i see. okay, that makes sense


On Tue, Oct 22, 2013 at 12:55 PM, adamrp <notifications@github.com> wrote:

> In scripts/replace_svg_object.py:
>
> > +from os import listdir, makedirs, remove
> > +from optparse import OptionParser, OptionGroup
> > +from americangut.format import format_print_for_magnified_sample
> > +
> > +def main():
> > +    usage = "usage: %prog -i svg_files --prefix figure_1 --sample_id 000000"+\
> > +        "001.314159 -o results/000000001.314159/"
> > +    parser = OptionParser(usage=usage)
> > +    options = OptionGroup(parser, "options")
> > +    options.add_option("-i", "--input_dir", type="string", help="input "
> > +        "directory containing the SVG formatted files")
> > +    options.add_option("--prefix", type="string", help="prefix filename for the"
> > +        " SVG files in the folder i. e. figure_1")
> > +    options.add_option("--sample_id", type="string", help="sample name to be "
> > +        "processed and converted to PDF")
> > +    options.add_option("-o", "--output_dir", type="string", help="output "
>
> This way, you can generate all Figure 1's and output them to a directory
> corresponding to the sample, then generate all Figure 2's and output them
> to that same directory; likewise for Figure 3's
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/qiime/American-Gut/pull/2/files#r7136370>
> .
>