diff --git a/csv_metadata_quality/__main__.py b/csv_metadata_quality/__main__.py index 2e23872..2c273f7 100644 --- a/csv_metadata_quality/__main__.py +++ b/csv_metadata_quality/__main__.py @@ -1,4 +1,4 @@ from csv_metadata_quality import app if __name__ == '__main__': - app.run() + app.main() diff --git a/csv_metadata_quality/app.py b/csv_metadata_quality/app.py index c38ef64..13dbcc0 100644 --- a/csv_metadata_quality/app.py +++ b/csv_metadata_quality/app.py @@ -2,7 +2,7 @@ import csv_metadata_quality.check as check import csv_metadata_quality.fix as fix import pandas as pd -def run(): +def main(): # Read all fields as strings so dates don't get converted from 1998 to 1998.0 #df = pd.read_csv('/home/aorth/Downloads/2019-07-26-Bioversity-Migration.csv', dtype=str) #df = pd.read_csv('/tmp/quality.csv', dtype=str)