diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d6f60f..a45dcac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # master +-fix : handle URL with HTTPS (not only HTTP) # 1.2.0 -feature: handle two folders of DEMs for difference computation diff --git a/altianalysis/run_difference_with_gpao.py b/altianalysis/run_difference_with_gpao.py index 08902c9..000c3e3 100644 --- a/altianalysis/run_difference_with_gpao.py +++ b/altianalysis/run_difference_with_gpao.py @@ -178,7 +178,11 @@ def compute_on_gpao( builder.save_as_json(out / "gpao_project.json") logging.info(f"Send projects to gpao server: {gpao_hostname}") - builder.send_project_to_api(f"http://{gpao_hostname}:8080") + + if not gpao_hostname.lower().startswith("http"): + builder.send_project_to_api(f"http://{gpao_hostname}:8080") + else: + builder.send_project_to_api(gpao_hostname) def parse_args():