Skip to content

dropSamplesFromReport.py Argument Handling Error #5

@jessicabonnie

Description

@jessicabonnie

Arguments are passed to dropSamplesFromReport.py through sys.argv:

report = sys.argv[1]
dropSamples = sys.argv[2]

However, next section expects use of the usual OptionParser approach used in the other scripts:

if options.report.find(".gz") != -1:
    file = gzip.open(options.report)
else:
    file = open(options.report,'r')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions