Skip to content
Snippets Groups Projects
Verified Commit b10d5d0c authored by Timm Fitschen's avatar Timm Fitschen
Browse files

FIX: installer

parent 2ca9746b
No related branches found
No related tags found
No related merge requests found
Pipeline #59931 passed with warnings
......@@ -24,6 +24,7 @@ classifiers = [
requires-python = ">= 3.8"
dependencies = [
"linkahead",
"caosadvancedtools @ git+https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools.git@ef70481ee9e0dde914cf974288e8e1b4ed32ec2e",
"caoscrawler[rocrate] @ git+https://gitlab.indiscale.com/caosdb/src/caosdb-crawler.git@96ae0ada880049eec7673637816b20360a0d63cf",
"kadi-apy",
"boto3>=1.35",
......
# encoding: utf-8
#
# This file is a part of the LinkAhead Project.
#
# Copyright (C) 2024 Indiscale GmbH <info@indiscale.com>
# Copyright (C) 2024 Alexander Schlemmer <a.schlemmer@indiscale.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
......@@ -119,7 +119,7 @@ out : bool
self._download_result(job_id=job_id, target_dir=target_dir)
except self.CheckFailed as cfe:
print(f"Check failed:\nStatus: {cfe.reason['status']}")
breakpoint()
#breakpoint()
check_ok = False
......@@ -228,6 +228,10 @@ remove_prefix : Optional[str]
while True:
cmd_result = run(cmd, check=True, capture_output=True)
result = json.loads(cmd_result.stdout)
if "error" in result:
print("Pipeline terminated unsuccessfully: ", result["error_description"])
result["status"] = result["error_description"]
raise self.CheckFailed(result)
if result["status"] != "running" and result["finished_at"] is not None:
break
time.sleep(1)
......
......@@ -151,10 +151,11 @@ DataDir:
name: (?P<name>.*)
dateCreated: (?P<dateCreated>.*)$
dateModified: (?P<dateModified>.*)$
#description: (?P<description>.*)$
records:
Dataset:
name: $name
description: $description
#description: $description
dateModified: $dateModified
dateCreated: $dateCreated
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment