Skip to content
Snippets Groups Projects
Commit f955af92 authored by Matthijs van der Wild's avatar Matthijs van der Wild
Browse files

Changed the default targetname value.

parent 6cffd94f
No related branches found
No related tags found
1 merge request!139Changed the default targetname value.
Pipeline #39607 passed
......@@ -59,7 +59,7 @@ def input2strlist_nomapfile(invar):
########################################################################
def main(ms_input, SkymodelPath, Radius="5.", DoDownload="True", Source="TGSS", targetname = "Patch"):
def main(ms_input, SkymodelPath, Radius="5.", DoDownload="True", Source="TGSS", targetname = "pointing"):
"""
Download the skymodel for the target field
......@@ -79,7 +79,7 @@ def main(ms_input, SkymodelPath, Radius="5.", DoDownload="True", Source="TGSS",
"False" or "No": Do not download skymodel, raise an exception if skymodel
file does not exist.
targetname : str
Give the patch a certain name, default: "Patch"
Give the patch a certain name, default: "pointing"
"""
FileExists = os.path.isfile(SkymodelPath)
......@@ -149,7 +149,7 @@ if __name__ == '__main__':
help='Choose source for skymodel: TGSS or GSM')
parser.add_argument('--DoDownload', type=str, default="True",
help='Download or not the TGSS skymodel or GSM ("Force" or "True" or "False").')
parser.add_argument('--targetname', type=str, default='Patch',
parser.add_argument('--targetname', type=str, default='pointing',
help='Name of the patch of the skymodel')
args = parser.parse_args()
......
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