1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-11-21 21:35:02 +01:00

Main function should be "main()"

This commit is contained in:
Alan Orth 2019-07-27 23:09:16 +03:00
parent 7e16968bf2
commit e2bb2d4df9
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
from csv_metadata_quality import app
if __name__ == '__main__':
app.run()
app.main()

View File

@ -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)