Spaces:
Running
Running
Arg bugfix
Browse files- app/main.py +2 -3
app/main.py
CHANGED
@@ -27,8 +27,8 @@ lddt = get_lddt()
|
|
27 |
args = argparse.ArgumentParser()
|
28 |
args.add_argument("-p", "--port", type=int, default=7860, help="Port number")
|
29 |
args.add_argument("-s", "--share", action="store_true", help="Share on network")
|
30 |
-
args.add_argument("-u", "--s3_uri", type=str, default=
|
31 |
-
args.add_argument("-d", "--data", type=str, default=
|
32 |
args = args.parse_args()
|
33 |
|
34 |
GET_CONFIG = load_config(
|
@@ -95,7 +95,6 @@ else: # Run with local data
|
|
95 |
GET_CONFIG.motif_dir,
|
96 |
)
|
97 |
|
98 |
-
|
99 |
def visualize_AF2(tf_pair, a):
|
100 |
if args.s3_uri:
|
101 |
strcture_dir = f"{args.s3_uri}/structures/causal/{tf_pair}"
|
|
|
27 |
args = argparse.ArgumentParser()
|
28 |
args.add_argument("-p", "--port", type=int, default=7860, help="Port number")
|
29 |
args.add_argument("-s", "--share", action="store_true", help="Share on network")
|
30 |
+
args.add_argument("-u", "--s3_uri", type=str, default=None, help="Path to demo S3 bucket")
|
31 |
+
args.add_argument("-d", "--data", type=str, default=None, help="Data directory")
|
32 |
args = args.parse_args()
|
33 |
|
34 |
GET_CONFIG = load_config(
|
|
|
95 |
GET_CONFIG.motif_dir,
|
96 |
)
|
97 |
|
|
|
98 |
def visualize_AF2(tf_pair, a):
|
99 |
if args.s3_uri:
|
100 |
strcture_dir = f"{args.s3_uri}/structures/causal/{tf_pair}"
|