Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

JiaShun-Xiao
Copy link

fix annotation bug and make some beautification

@@ -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)
Copy link
Member

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,
Copy link
Member

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",
Copy link
Member

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).

@lemieuxl
Copy link
Member

lemieuxl commented Jun 9, 2020

Thanks for the update. Just some small issue to verify.

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.

2 participants