0037bf2ef173d8e7dabf3e71c9c4783424e855d0,nilmtk/dataset_converters/dataport/download_dataport.py,,download_dataport,#Any#Any#Any#Any#,124

Before Change


    store = pd.HDFStore(hdf_filename, "w", complevel=9, complib="zlib")
    
    // remove existing building yaml files in module dir
    for f in os.listdir(join(_get_module_directory(), "metadata")):
        if re.search("^building", f):
            os.remove(join(_get_module_directory(), "metadata", f))
    

After Change


    //TODO: copy metadata and modify in a temp dir
    
    // remove existing building yaml files in module dir
    metadata_dir = join(get_module_directory(), "dataset_converters", "dataport", "metadata")
    for f in os.listdir(metadata_dir):
        if re.search("^building", f):
            os.remove(join(metadata_dir, f))
Italian Trulli
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: download_dataport


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/greend/convert_greend.py
Class Name:
Method Name: convert_greend