mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-11-22 05:45:02 +01:00
Main function should be "main()"
This commit is contained in:
parent
7e16968bf2
commit
e2bb2d4df9
@ -1,4 +1,4 @@
|
|||||||
from csv_metadata_quality import app
|
from csv_metadata_quality import app
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run()
|
app.main()
|
||||||
|
@ -2,7 +2,7 @@ import csv_metadata_quality.check as check
|
|||||||
import csv_metadata_quality.fix as fix
|
import csv_metadata_quality.fix as fix
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
def run():
|
def main():
|
||||||
# Read all fields as strings so dates don't get converted from 1998 to 1998.0
|
# 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('/home/aorth/Downloads/2019-07-26-Bioversity-Migration.csv', dtype=str)
|
||||||
#df = pd.read_csv('/tmp/quality.csv', dtype=str)
|
#df = pd.read_csv('/tmp/quality.csv', dtype=str)
|
||||||
|
Loading…
Reference in New Issue
Block a user