Copy data between databases

Copy any kind of data between databases

Description

A general process which allows to copy any kind of data from one database to another. It copies any data type handled by both (input and output) databases, including directory data such as Subject or Center, which will be copied recursively.

Data can also be copied into the input database under a new name, for instance copy an existing subject to a new one with a different name.

The process relies on database organization, so it will appropriately rename data when needed to follow the right patterns. It can also operate between databases which do not follow the same ontology organization.

There are a few restrictions, though:

Parameters

data_type: Choice ( input )
input_data: Any Type ( input )
output_database: Choice ( input )
output_data: Any Type ( output )

Technical information

Toolbox : Data Management

User level : 0

Identifier : copydata

File name : brainvisa/toolboxes/data management/processes/copydata.py

Supported file formats :

input_data :
XBM image, Aims bundles, Aims scalar features, Aperio svs, BMP image, BrainVISA session event, Bucket, CSV file, Commissure coordinates, DEF Label Translation, DICOM image, Database Cache file, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, FreesurferParcellation, GIF image, GIFTI file, GIS image, Graph and data, Gyri Model, HTML, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, Hierarchy, Histo Analysis, Histogram, JPEG image, JSON file, Label Translation, Leica scn, MESH mesh, MINC image, MINC transformation matrix, MNG image, MNI OBJ mesh, Matlab file, Matlab script, Minf, Mrtrix tracts, NIFTI-1 image, PBM image, PDF File, PGM image, PLY mesh, PNG image, PPM image, PS file, Process execution event, Python Script, Quality Check Report, Referential, SPM image, SQLite Database File, Sakura svslide, Sigraph Learner, Sparse Matrix, TIFF image, TIFF(.tif) image, TRI mesh, TSV file, Template model, Template model domain, Text Data Table, Text file, Texture, Trackvis tracts, Transformation matrix, Ventana bif, XBM image, XLS file, XML, XPM image, YAML file, Z compressed ECAT i image, Z compressed ECAT v image, Z compressed GIFTI file, Z compressed GIS image, Z compressed MESH mesh, Z compressed MNI OBJ mesh, Z compressed PLY mesh, Z compressed SPM image, Z compressed TRI mesh, Z compressed Texture, Zeiss czi, bz2 Matlab file, gz Matlab file, gz compressed ECAT i image, gz compressed ECAT v image, gz compressed GIFTI file, gz compressed GIS image, gz compressed MESH mesh, gz compressed MINC image, gz compressed MNI OBJ mesh, gz compressed NIFTI-1 image, gz compressed PLY mesh, gz compressed PS file, gz compressed SPM image, gz compressed TRI mesh, gz compressed Texture, siRelax Fold Energy
output_data :
Directory, ASCII results, AVI film, Aims bundles, Aims scalar features, Aperio svs, BMP image, BrainVISA session event, BrainVISA/Anatomist animation, Bucket, Bundle Selection Rules, Bval File, Bvec File, CSV file, Commissure coordinates, Config file, DEF Label Translation, DICOM image, Database Cache file, Directory, ECAT i image, ECAT v image, EPS file, FDF image, File, Filter file, FreesurferAvgCurv, FreesurferCurv, FreesurferCurvPial, FreesurferIsin, FreesurferLabel, FreesurferMGH, FreesurferMGZ, FreesurferParcellation, FreesurferPial, FreesurferSphereReg, FreesurferThickness, FreesurferWhite, GIF image, GIFTI file, GIS image, Graph, Graph and data, Gyri Model, HDF5 File, HTML, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, Hierarchy, Histo Analysis, Histogram, Info file, JPEG image, JSON file, Label Translation, Leica scn, Log file, MESH mesh, MINC image, MINC transformation matrix, MIRAX mrxs, MLP classifier, MNG image, MNI OBJ mesh, MP4 film, MPEG film, Matlab file, Matlab script, Minf, Moment Vector, Mrtrix tracts, NIFTI-1 image, Numpy Array, OGG film, PBM image, PDF File, PGM image, PLY mesh, PNG image, PPM image, PS file, Phase image, Plot results, Process execution event, Python Script, Quality Check Report, QuickTime film, Referential, SNNS pattern, SPM image, SQLite Database File, SVG file, SVM classifier, Sakura svslide, Selection, Series of Aperio svs, Series of BMP image, Series of DICOM image, Series of Directory, Series of ECAT i image, Series of ECAT v image, Series of FDF image, Series of FreesurferLabel, Series of FreesurferMGH, Series of FreesurferMGZ, Series of GIF image, Series of GIS image, Series of Hamamatsu ndpi, Series of Hamamatsu vms, Series of Hamamatsu vmu, Series of JPEG image, Series of Leica scn, Series of MINC image, Series of MNG image, Series of NIFTI-1 image, Series of PBM image, Series of PGM image, Series of PNG image, Series of PPM image, Series of SPM image, Series of Sakura svslide, Series of TIFF image, Series of TIFF(.tif) image, Series of Ventana bif, Series of XBM image, Series of XPM image, Series of Zeiss czi, Series of gz compressed MINC image, Series of gz compressed NIFTI-1 image, Sigraph Learner, Soma-Workflow workflow, Sparse Matrix, TIFF image, TIFF(.tif) image, TRI mesh, TSV file, Template model, Template model domain, Text Data Table, Text file, Texture, Trackvis tracts, Transformation matrix, Tree, VIDA image, Ventana bif, XBM image, XLS file, XLSX file, XML, XPM image, YAML file, Z compressed ECAT i image, Z compressed ECAT v image, Z compressed GIFTI file, Z compressed GIS image, Z compressed MESH mesh, Z compressed MNI OBJ mesh, Z compressed PLY mesh, Z compressed SPM image, Z compressed TRI mesh, Z compressed Texture, Z compressed VIDA image, ZIP file, Zeiss czi, bz2 Matlab file, gz Matlab file, gz compressed ECAT i image, gz compressed ECAT v image, gz compressed GIFTI file, gz compressed GIS image, gz compressed MESH mesh, gz compressed MINC image, gz compressed MNI OBJ mesh, gz compressed NIFTI-1 image, gz compressed PLY mesh, gz compressed PS file, gz compressed SPM image, gz compressed TAR archive, gz compressed TRI mesh, gz compressed Texture, gz compressed VIDA image, gzipped XML, mdsm file, pickle file, siRelax Fold Energy