Files
MX_Pmodule/Tools/datacatalog
Spencer Bliven 7bb0fc9959 Marking old versions as deprecated
These can be removed after some time. They don't work anyways.
2024-05-21 17:34:24 +02:00
..
2024-05-21 17:34:24 +02:00
2024-04-27 22:56:27 +02:00
2024-04-27 22:56:27 +02:00
2024-04-27 22:56:27 +02:00

Datacatalog

Overview

This module provides tools to interface with the Data Catalog (discovery.psi.ch).

Version Numbers

Prior to version 2, each command had it's own version. The pmodule version roughly tracked the datasetIngestor version. However, some pmodules were updated manually with more recent binaries, so in general there is no way to check the versions contained in older pmodules other than running each command and parsing the output.

From v2.2.0 all CLI commands share a common version, and the pmodules will reflect this. The SciCat GUI is still versioned independently, but this is planned to be brought in sync with the CLI and pmodule soon.

Installation

Run ./build <VERSION> to install the latest version. This downloads the latest versions of the datasetIngestor, datasetRetriever, and datasetArchiver tools. Note that the downloads are not versioned, so make sure that the current variant matches the installed binaries.

The scicat_client script is also installed. This is maintained as an anaconda environment, then symlinked into the datacatalog pmodule. Anaconda hard-codes the correct python interpreter, so all dependencies should resolve even though the conda module is not activated. See Programming/anaconda/2019.07/conda-env-defs/scicat_client for environment installation details.

SciCat GUI

The SciCat GUI is installed manually to bin. As of 2.2.0, no standard release cycle is used for the GUI. It should be built from source in the rollout repo and manually coppied.

An issue in 2.2.0 and earlier prevents the GUI from running on RHEL 8. This was fixed with a manual wrapper script which produces an error on RHEL 8.

TODO

  • The post_prep section of the build script should be removed following fixing #55
  • SciCat should be downloaded and installed in the build script