-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix annotation bug and make some beautifications #4
base: master
Are you sure you want to change the base?
Conversation
@@ -636,7 +645,7 @@ def parse_args(): | |||
comma | |||
``--significant-threshold`` Float The significant threshold for | |||
linkage | |||
``--no-annotation`` Boolean Do not draw annotation (SNP names) | |||
``--no_annotation`` Boolean Do not draw annotation (SNP names) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please stay with previous options, so that it doesn't change existing scripts (--no-annotation
).
@@ -482,7 +486,12 @@ def create_manhattan_plot(twopoint, multipoint, args): | |||
else: | |||
# There is some two-point data and annotation is asked, se we show | |||
# the figure | |||
plt.show() | |||
plt.savefig(args.outFile_name + "." + args.graph_format, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This else is now irrelevant, since the same code is executed in both cases.
@@ -893,7 +902,7 @@ def parse_args(): | |||
|
|||
# The annotation flag | |||
group.add_argument( | |||
"--no-annotation", action="store_true", | |||
"--no_annotation", action="store_true", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing here, keep --no-annotation
).
Thanks for the update. Just some small issue to verify. |
fix annotation bug and make some beautification