Skip to content

updated Gattaca.py script#4

Open
cetienn01 wants to merge 5 commits intorschenck:masterfrom
cetienn01:master
Open

updated Gattaca.py script#4
cetienn01 wants to merge 5 commits intorschenck:masterfrom
cetienn01:master

Conversation

@cetienn01
Copy link
Copy Markdown

No description provided.

@cetienn01
Copy link
Copy Markdown
Author

I replaced Options.output with Options.outputLoc in the following part of the code:

ORIGINAL

if Options.output[len(Options.output)-1]!="/":
    Options.output+="/"

UPDATE

if Options.outputLoc[-1] != "/":
    Options.outputLoc += "/"

The original code was throwing an error: AttributeError: 'Namespace' object has no attribute 'output'. Did you mean: 'outputLoc'?. The error in the script is due to the fact that it was trying to access Options.output, which does not exist. The argument was defined as outputLoc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant