0037bf2ef173d8e7dabf3e71c9c4783424e855d0,nilmtk/dataset_converters/dataport/download_dataport.py,,_dataport_dataframe_to_hdf,#Any#Any#Any#Any#,305
Before Change
// write building yaml to file
building = "building{:d}".format(nilmtk_building_id)
yaml_full_filename = join(_get_module_directory() , "metadata", building + ".yaml")
with open(yaml_full_filename, "w") as outfile:
outfile.write(yaml.dump(building_metadata))
After Change
// write building yaml to file
building = "building{:d}".format(nilmtk_building_id)
metadata_dir = join(get_module_directory(), "dataset_converters", "dataport", "metadata")
yaml_full_filename = join(metadata_dir, building + ".yaml")
with open(yaml_full_filename, "w") as outfile:
outfile.write(yaml.dump(building_metadata))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: nilmtk/nilmtk
Commit Name: 0037bf2ef173d8e7dabf3e71c9c4783424e855d0
Time: 2018-09-09
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/dataset_converters/dataport/download_dataport.py
Class Name:
Method Name: _dataport_dataframe_to_hdf
Project Name: nilmtk/nilmtk
Commit Name: 0037bf2ef173d8e7dabf3e71c9c4783424e855d0
Time: 2018-09-09
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/dataset_converters/iawe/convert_iawe.py
Class Name:
Method Name: convert_iawe
Project Name: nilmtk/nilmtk
Commit Name: 0037bf2ef173d8e7dabf3e71c9c4783424e855d0
Time: 2018-09-09
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/dataset_converters/dataport/download_dataport.py
Class Name:
Method Name: download_dataport