Skip to content
Snippets Groups Projects
Commit 7f259be1 authored by Alexander Drabent's avatar Alexander Drabent
Browse files

deal with env variables

parent cd1482da
No related branches found
No related tags found
1 merge request!102Deprecate makesourcedb (RAP-481)
Pipeline #31343 failed
......@@ -3,7 +3,7 @@
Append a LOFAR skymodel to an existing one
"""
import logging
import os, logging
import lsmtool
########################################################################
......@@ -36,4 +36,4 @@ if __name__ == '__main__':
format_file = logging.Formatter("%(asctime)s %(levelname)s: %(message)s","%Y-%m-%d %H:%M:%S")
logging.root.setLevel(logging.INFO)
main(inmodel1 = args.inmodel1, inmodel2 = args.inmodel2, outmodel = args.outmodel)
main(inmodel1 = os.path.expandvars(args.inmodel1), inmodel2 = os.path.expandvars(args.inmodel2), outmodel = os.path.expandvars(args.outmodel))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment