Skip to content

Commit

Permalink
small change to update_db.py
Browse files Browse the repository at this point in the history
  • Loading branch information
paolap committed Oct 17, 2024
1 parent e177801 commit 6f6787d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mopdata/update_db.py.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def update_map(conn, varid, ctable):
args = {k: row[k] for k in keys}
for k,v in keys2.items():
args[k] = row[v]
# you need to manually add datadir to the maps
# if you want to be update infile!
if 'datadir' in row.keys():
paths = row['file_structure'].split()
infile = ''
Expand Down

0 comments on commit 6f6787d

Please sign in to comment.