Skip to content
Snippets Groups Projects

MAINT: further tests and docs

Merged Florian Spreckelsen requested to merge f-extern2 into dev
Files
4
@@ -8,7 +8,7 @@ from caosadvancedtools.models.parser import parse_model_from_yaml
def main():
# for teseting existing data model parts for the YANL Interface
# for testing existing data model parts with the YAML Interface
db.RecordType(name="TestRT1", datatype=db.TEXT).insert()
db.Property(name="TestP1", datatype=db.TEXT).insert()
@@ -21,7 +21,8 @@ def main():
al.insert()
h5model = db.Container()
h5file = h5py.File('extroot/ExperimentalData/2010_TestProject/2019-02-03/hdf5_dummy_file.hdf5', 'r')
h5file = h5py.File(
'extroot/ExperimentalData/2010_TestProject/2019-02-03/hdf5_dummy_file.hdf5', 'r')
H5CFood.create_structure(h5file, create_recordTypes=True, collection=h5model,
root_name="ExampleH5")
h5model = DataModel(h5model)
Loading