From be4ec40688792bcfc80455c9ccc7f006e5bb5692 Mon Sep 17 00:00:00 2001 From: Evangelos Voyiatzis Date: Wed, 19 May 2021 09:54:26 +0200 Subject: [PATCH] change type of input length parameters change input length for pristine graphene generation from int to float --- GOPY.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GOPY.py b/GOPY.py index 928e04b..277fd72 100644 --- a/GOPY.py +++ b/GOPY.py @@ -2346,7 +2346,7 @@ def hole_generation(init_file, number_of_holes, atom_range, uorm, iore, cleanup, if (len(sys.argv) > 1): if (sys.argv[1] == "generate_PG"): try: - generate_pristine_graphene(int(sys.argv[2]), int(sys.argv[3]), str(sys.argv[4])) + generate_pristine_graphene(float(sys.argv[2]), float(sys.argv[3]), str(sys.argv[4])) except: print("Please type 'python GOPY.py help'") elif (sys.argv[1] == "generate_GO"):