0037bf2ef173d8e7dabf3e71c9c4783424e855d0,nilmtk/dataset_converters/greend/convert_greend.py,,convert_greend,#,114

Before Change


	
	// retrieve the dataset metadata in the metadata subfolder
    convert_yaml_to_hdf5(
        join(dirname(inspect.getfile(convert_greend)), "metadata"),
        hdf_filename
    )

After Change


    store.close()
	
	// retrieve the dataset metadata in the metadata subfolder
    metadata_dir = join(get_module_directory(), "dataset_converters", "greend", "metadata")
    convert_yaml_to_hdf5(metadata_dir, hdf_filename)

//is only called when this file is the main file... only test purpose
if __name__ == "__main__":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilmtk/nilmtk
Commit Name: 0037bf2ef173d8e7dabf3e71c9c4783424e855d0
Time: 2018-09-09
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/dataset_converters/greend/convert_greend.py
Class Name:
Method Name: convert_greend


Project Name: ReactionMechanismGenerator/RMG-Py
Commit Name: dce02d0e05ecea294cac9ee673fb96930b91e1d3
Time: 2020-04-06
Author: ampayne@mit.edu
File Name: rmgpy/solver/liquidTest.py
Class Name: LiquidReactorCheck
Method Name: test_liquid_input_reading


Project Name: lingpy/lingpy
Commit Name: b46114a5b8076c38e765811bd6d55ed2930d9975
Time: 2013-11-14
Author: mattis.list@posteo.de
File Name: lingpy/convert/html.py
Class Name:
Method Name: alm2html