wip: dicom indexer
This commit is contained in:
parent
e5efdba823
commit
84d5a18ba6
|
|
@ -9,6 +9,7 @@ import gitlab
|
||||||
import tempfile
|
import tempfile
|
||||||
import logging
|
import logging
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import yaml
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -207,7 +208,7 @@ def setup_gitlab_repos(
|
||||||
## add the session to the dicom study repo
|
## add the session to the dicom study repo
|
||||||
dicom_study_repo = get_or_create_gitlab_project(gitlab_conn, dicom_study_path)
|
dicom_study_repo = get_or_create_gitlab_project(gitlab_conn, dicom_study_path)
|
||||||
with tempfile.TemporaryDirectory() as tmpdir:
|
with tempfile.TemporaryDirectory() as tmpdir:
|
||||||
dicom_study_ds = datalad.api.install(
|
dicom_study_ds = dlad.install(
|
||||||
source=dicom_study_repo._attrs["ssh_url_to_repo"],
|
source=dicom_study_repo._attrs["ssh_url_to_repo"],
|
||||||
path=tmpdir,
|
path=tmpdir,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue