Skip to content
Snippets Groups Projects
Commit 921dc85e authored by florian's avatar florian
Browse files

STY: autopep'd

parent af0d7a46
No related branches found
No related tags found
2 merge requests!22Release 0.3,!19MAINT: further tests and docs
Checking pipeline status
...@@ -8,7 +8,7 @@ from caosadvancedtools.models.parser import parse_model_from_yaml ...@@ -8,7 +8,7 @@ from caosadvancedtools.models.parser import parse_model_from_yaml
def main(): 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.RecordType(name="TestRT1", datatype=db.TEXT).insert()
db.Property(name="TestP1", datatype=db.TEXT).insert() db.Property(name="TestP1", datatype=db.TEXT).insert()
...@@ -21,7 +21,8 @@ def main(): ...@@ -21,7 +21,8 @@ def main():
al.insert() al.insert()
h5model = db.Container() 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, H5CFood.create_structure(h5file, create_recordTypes=True, collection=h5model,
root_name="ExampleH5") root_name="ExampleH5")
h5model = DataModel(h5model) h5model = DataModel(h5model)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment