Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mishaschwartz committed Oct 22, 2024
1 parent b353feb commit e0c078e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion STACpopulator/implementations/CMIP6_UofT/add_CMIP6.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def main(*args: str) -> int:
parser = argparse.ArgumentParser()
add_parser_args(parser)
ns = parser.parse_args(args or None)
ns.populator = "CMIP6_UofT"
ns.populator = os.path.basename(os.path.dirname(__file__))
return cli.run(ns)

if __name__ == "__main__":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def main(*args: str) -> int:
parser = argparse.ArgumentParser()
add_parser_args(parser)
ns = parser.parse_args(args or None)
ns.populator = "DirectoryLoader"
ns.populator = os.path.basename(os.path.dirname(__file__))
return cli.run(ns)


Expand Down

0 comments on commit e0c078e

Please sign in to comment.