You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help="Boolean indicating the usage of the development environment of the target repositories. If not present, the production instances will be used.",
42
43
)
43
44
@click.pass_context
44
-
defcli(ctx, development):
45
+
defcli(ctx: click.Context, development: bool):
45
46
print_and_log("############# Welcome to the MARS CLI. #############")
46
47
print_and_log(
47
48
"Sensitive information might be dumped in the log files when setting the 'log_level' to DEBUG in the config file. Logging in debug mode should only be used for developing purpose a can implicate security issues if used in a production environment!",
@@ -124,22 +125,22 @@ def cli(ctx, development):
124
125
)
125
126
@click.pass_context
126
127
defsubmit(
127
-
ctx,
128
-
webin_username,
129
-
metabolights_username,
130
-
metabolights_ftp_username,
131
-
credentials_file,
132
-
isa_json_file,
133
-
submit_to_biosamples,
134
-
submit_to_ena,
135
-
submit_to_metabolights,
136
-
investigation_is_root,
137
-
file_transfer,
138
-
output,
139
-
data_files,
128
+
ctx: click.Context,
129
+
webin_username: str,
130
+
metabolights_username: str,
131
+
metabolights_ftp_username: str,
132
+
credentials_file: click.File,
133
+
isa_json_file : click.File,
134
+
submit_to_biosamples: bool,
135
+
submit_to_ena: bool,
136
+
submit_to_metabolights: bool,
137
+
investigation_is_root: bool,
138
+
file_transfer: str,
139
+
output: str,
140
+
data_files: List[click.File],
140
141
):
141
142
"""Start a submission to the target repositories."""
"""Check the health of the target repositories."""
180
181
print_and_log("Checking the health of the target repositories.")
181
182
@@ -218,7 +219,7 @@ def health_check(ctx):
218
219
help="Boolean indicating if the investigation is the root of the ISA JSON. Set this to True if the ISA-JSON does not contain a 'investigation' field.",
0 commit comments