Skip to content

Commit e0c078e

Browse files
committed
review feedback
1 parent b353feb commit e0c078e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

STACpopulator/implementations/CMIP6_UofT/add_CMIP6.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def main(*args: str) -> int:
132132
parser = argparse.ArgumentParser()
133133
add_parser_args(parser)
134134
ns = parser.parse_args(args or None)
135-
ns.populator = "CMIP6_UofT"
135+
ns.populator = os.path.basename(os.path.dirname(__file__))
136136
return cli.run(ns)
137137

138138
if __name__ == "__main__":

STACpopulator/implementations/DirectoryLoader/crawl_directory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def main(*args: str) -> int:
7373
parser = argparse.ArgumentParser()
7474
add_parser_args(parser)
7575
ns = parser.parse_args(args or None)
76-
ns.populator = "DirectoryLoader"
76+
ns.populator = os.path.basename(os.path.dirname(__file__))
7777
return cli.run(ns)
7878

7979

0 commit comments

Comments
 (0)