File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 14
14
from libcove .lib .converters import convert_spreadsheet
15
15
from libcove .config import LibCoveConfig
16
16
17
+ from memory_profiler import profile
17
18
19
+ @profile
18
20
def main ():
19
21
parser = argparse .ArgumentParser (
20
22
description = "Check the data quality of some 360Giving standard data. This tool currently doesn't support extensions."
@@ -66,7 +68,8 @@ def main():
66
68
file_path ,
67
69
file_type ,
68
70
lib_cove_config ,
69
- schema .schema_url ,
71
+ schema .schema_file ,
72
+ schema .pkg_schema_file
70
73
)
71
74
)
72
75
with open (context ["converted_path" ], "r" ) as fp_data :
@@ -97,7 +100,7 @@ def main():
97
100
# We don't actually want to show the json data again
98
101
del context ["json_data" ]
99
102
100
- pprint .pprint (context )
103
+ # pprint.pprint(context)
101
104
102
105
103
106
if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments