Skip to content

Commit 581b6f0

Browse files
melange396rzats
authored andcommitted
moving yaml schema files to common module
1 parent c6879d7 commit 581b6f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ddl/covid_hosp_schema_io.py renamed to src/common/covid_hosp/covid_hosp_schema_io.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# TODO: this file and the associated yaml file probably belong in src/common/covid_hosp/ or at least src/common/acquisition/covid_hosp/common/
2-
31
from datetime import datetime
42
import re
53
import sys
@@ -179,7 +177,9 @@ def write_new_definitions(self):
179177
chs.add_column(ds_name, col.name, col.dtype)
180178

181179
if changed:
180+
print("column changes detected, writing new definition files")
182181
chs.write_new_definitions()
183182
sys.exit(1)
184183

184+
print("no changes detected, exiting")
185185
sys.exit(0)

0 commit comments

Comments
 (0)