Start writing expand_datablock method.
This commit is contained in:
@@ -10,5 +10,15 @@ def test_init():
|
||||
def test_export():
|
||||
xsy = XSY("tests/data/hsps.xsy")
|
||||
out_path = "tests/output"
|
||||
xsy.datablock.to_csv(os.path.join(out_path, 'test_db.csv'), index=False)
|
||||
xsy.defs.to_csv(os.path.join(out_path, 'test_ddt.csv'), index=False)
|
||||
xsy.datablock.to_csv(
|
||||
os.path.join(out_path, 'datablock.csv'),
|
||||
index=False
|
||||
)
|
||||
xsy.defs.to_csv(
|
||||
os.path.join(out_path, 'defs.csv'),
|
||||
index=False
|
||||
)
|
||||
xsy.datablock_expanded.to_csv(
|
||||
os.path.join(out_path, 'expanded.csv'),
|
||||
index=False
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user