Skip to content

Resolve "Save results of icat-sync-raw"

Wout De Nolf requested to merge 20-save-results-of-icat-sync-raw into main

Closes #20 (closed)

Add argument to icat-sync-raw to store synchronization info

icat-sync-raw --save-dir /tmp/icat_sync_info

It saved CSV files with statistics and BASH scripts to run for registration:sync_icat.zip

In addition I made some changes for selecting the correct session from a list of investigations:

  • an open-ended session becomes closed-ended when a session starts after it
  • the session start time as derived from the directory name is 8:00 by default but if there is an investigation that starts on that day, we take the time of that investigation (take the time of the last investigation when more than one, ordered by db creation date)
Edited by Wout De Nolf

Merge request reports