Copy any kind of data between databases
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:
- Input and output databases must use the same data types; each data to be copied must have a type which is understood and has a location in the output database. Moreover, the key attributes set for data must match "sufficiently" (links must work to generate output locations).
- data UUIDs will change, but referentials UUIDs in data will not. Thus data will reference referentials at their former location. This is a limitation that may be overcome, one day.
data_type: Choice ( input )
input_data: Any Type ( input )
output_database: Choice ( input )
output_data: Any Type ( output )
Toolbox : Data Management
User level : 0
Identifier :
copydata
File name :
brainvisa/toolboxes/data management/processes/copydata.py
Supported file formats :
input_data :Z compressed ECAT v image, BMP image, DEF Label Translation, Database Cache file, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIF image, GIFTI file, GIS image, Graph and data, Gyri Model, HTML, Hierarchy, JPEG image, JSON file, Label Translation, MESH mesh, MINC image, MNI OBJ mesh, Matlab file, Minf, NIFTI-1 image, PBM image, PGM image, PLY mesh, PNG image, PPM image, Referential, SPM image, SQLite Database File, Sigraph Learner, TIFF image, TIFF(.tif) image, TRI mesh, Template model, Template model domain, Text Data Table, Transformation matrix, VIDA image, XBM image, XPM image, 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 VIDA image, 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 SPM image, gz compressed TRI mesh, gz compressed VIDA imageoutput_data :Z compressed ECAT v image, BMP image, DEF Label Translation, Database Cache file, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIF image, GIFTI file, GIS image, Graph and data, Gyri Model, HTML, Hierarchy, JPEG image, JSON file, Label Translation, MESH mesh, MINC image, MNI OBJ mesh, Matlab file, Minf, NIFTI-1 image, PBM image, PGM image, PLY mesh, PNG image, PPM image, Referential, SPM image, SQLite Database File, Sigraph Learner, TIFF image, TIFF(.tif) image, TRI mesh, Template model, Template model domain, Text Data Table, Transformation matrix, VIDA image, XBM image, XPM image, 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 VIDA image, 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 SPM image, gz compressed TRI mesh, gz compressed VIDA image