Skip to content

Commit

Permalink
Update and rename HeatCluster.py to heatcluster.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DrB-S authored Nov 10, 2023
1 parent e5347d3 commit 5813308
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions HeatCluster.py → heatcluster.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python3

###########################################
# HeatCluster-0.4.12 #
# heatcluster-0.4.12 #
# written by Stephen Beckstrom-Sternberg #
# Creates SNP heat/cluster maps #
# from SNP matrices #
Expand All @@ -25,7 +25,7 @@
parser.add_argument('-v', '--version', help='print version and exit', action='version', version='%(prog)s ' + '0.4.12')
args = parser.parse_args()

def main():
def main(args):
"""
Creates image for SNP matrix.
"""
Expand Down Expand Up @@ -166,7 +166,4 @@ def create_heatmap(df, fontSize):
plt.show()

if __name__ == "__main__":
main()

if __name__ == "__main__":
main()
main(args)

0 comments on commit 5813308

Please sign in to comment.