caosadvancedtools.import_from_xml module#
This file allows to import a dataset stored in a xml representation and corresponding files.
The export should have been done with export_related.py
- caosadvancedtools.import_from_xml.create_dummy_file(text='Please ask the administrator for this file.')#
- caosadvancedtools.import_from_xml.defineParser()#
- caosadvancedtools.import_from_xml.import_xml(filename, rerun=False, interactive=True)#
filename: path to the xml file with the data to be inserted rerun: boolean; if true, files are not inserted as paths would conflict.
- caosadvancedtools.import_from_xml.main()#